Home › Forums › Guriddo Suito PHP › Convert Insert to Update on Duplicate Primary Key
I am using jqGrid PHP v 4.82 – Is there any way to convert an add to update if the primary key already exists in the (MySQL) database?
Ken
Hello,
One possible solution is to use custom add and check if row with this key exists. the code can look something like this:
Kind Regards, Will
Guriddo Support Team
Thanks, Will. That solved my problem.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS