Fw: [PHP-DB] Update statement?

From: Date: Wed, 18 Oct 2000 22:06:53 +0000
Subject: Fw: [PHP-DB] Update statement?
Groups: php.db 
Request: Send a blank email to php-db+get-3761@lists.php.net to get a copy of this message
----- Original Message ----- From: "Wee Chua" <Chua@mail.interclean.com> To: "PHP (E-mail)" <php-general@lists.php.net>; "Php-Db (E-mail)" <php-db@lists.php.net>; "Php-Db-Help (E-mail)" <php-db-help@lists.php.net> Sent: Wednesday, October 18, 2000 1:44 PM Subject: [PHP-DB] Update statement? > Hi all, > Can anyone tell me that has the row been updated from mysql message. What if > I have entered wrong datatype, mysql server would give me an error message, > how could put into php codes? Please help, thank you! > > $update=mysql_query("update Employee set Name=John where Id=1",$db); > > Calvin > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#3761) next »