Update/Insert

From: Date: Fri, 26 Apr 2002 17:34:16 +0000
Subject: Update/Insert
Groups: php.db 
Request: Send a blank email to php-db+get-18836@lists.php.net to get a copy of this message
Hi to all, I have a form where users can insert or update a record. Now the way I have it, can just only do one thing either update or insert a new record. What I would like to do is: if it is a new record, execute the insert statement else execute the update statement. I don't know if it is possible to do it in PHP. Any help is greatly appreciate Thanks in advanced! Nato

« previous php.db (#18836) next »