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 */ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php