Verifying syntax executed correctly

From: Date: Wed, 18 Oct 2006 02:35:28 +0000
Subject: Verifying syntax executed correctly
Groups: php.db 
Request: Send a blank email to php-db+get-42572@lists.php.net to get a copy of this message
If I give this command through PHP to mySQL mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "UPDATE table SET last_activity_field = '$current_date' WHERE reference = '$account_reference' LIMIT 1;"; mysql_query($query); mysql_close(); is there a way to know if it executed successfully? Ron

« previous php.db (#42572) next »