Update statement?
| From: | Wee Chua | Date: | Wed, 18 Oct 2000 20:44:55 +0000 |
| Subject: | Update statement? | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-20977@lists.php.net to get a copy of this message | ||
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