Am trying to do an update of a record... Is this the correct syntax.. $query= "UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id= $id"; R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php