mysql_query
| From: | Ron Piggott | Date: | Mon, 10 Aug 2009 08:15:08 +0000 |
| Subject: | mysql_query | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-46436@lists.php.net to get a copy of this message | ||
I have the syntax
mysql_query("INSERT INTO ....);");
If this is successful I want to do update a column in one of my tables
$query = "UPDATE ... ";
mysql_query($query);
How do I test if the INSERT INTO mysql_query, in order to trigger the UPDATE?
Ron