mysql_query("UPDATE member_info
SET tel
= '33333339' WHERE id = '3'");
This above sql statement with php that can be update in database table.
But when I change id to be a variable. That cannot update to database
But I echo $update_id; $update_id can show be 3
mysql_query("UPDATE member_info
SET tel
= '33333339' WHERE id = '".$update_id."'");
I want to to what's wrong about my statement?