Home › Forums › Guriddo Suito PHP › Convert Insert to Update on Duplicate Primary Key
This topic contains 2 replies, has 2 voices, and was last updated by kgrogers 4 months ago.
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?
One possible solution is to use custom add and check if row with this key exists. the code can look something like this:
Guriddo Support Team
Thanks, Will. That solved my problem.
You must be logged in to reply to this topic.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS