Welcome Guest, Not a member yet? Register   Sign In
easy way to catch database insert into errors to stop script from breaking?
#2

[eluser]cahva[/eluser]
Use IGNORE keyword in your insert. It will not insert row but will not return an error, only warning.

If you want to replace the row with new data use REPLACE instead of INSERT.


Messages In This Thread
easy way to catch database insert into errors to stop script from breaking? - by El Forum - 06-22-2010, 07:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB