Re: Update/Insert

From: Date: Fri, 26 Apr 2002 18:54:27 +0000
Subject: Re: Update/Insert
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18839@lists.php.net to get a copy of this message
On Saturday 27 April 2002 01:34, Natividad Castro wrote: > 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. if ... else is certainly available in PHP. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Modesty is a vastly overrated virtue. -- J.K. Galbraith */

« previous php.db (#18839) next »