First time using the update command.
Basically trying to change the status from 1 to 2 which works with this query without the $id variable I inserted. Anyone know how I format the $id variable properly in this query?
mysql_select_db($mysql);
$query = 'UPDATE `sms`.`messages_import` SET `timestamp` = NOW(), `status` = \'2\' WHERE `messages_import`.`id` =
`"$.id."` LIMIT 1;';
Again I tried a few common variations that I knew of like $id, '$id', etc but nothing seemed to work
Mucho appreciatedo