MySQL error handling
#2

It's been a while but I believe you can use INSERT IGNORE INTO and then check with mysql_affected_rows which should return 0 if it was not inserted.
Reply


Messages In This Thread
MySQL error handling - by iiNzTicTx - 11.11.2017, 07:53
Re: MySQL error handling - by woot - 11.11.2017, 08:11
Re: MySQL error handling - by iiNzTicTx - 11.11.2017, 08:17
Re: MySQL error handling - by Juvanii - 11.11.2017, 08:38
Re: MySQL error handling - by iiNzTicTx - 11.11.2017, 09:06

Forum Jump:


Users browsing this thread: 1 Guest(s)