MYSQL update query php
Posted
by bell
on Stack Overflow
See other posts from Stack Overflow
or by bell
Published on 2010-04-27T18:29:08Z
Indexed on
2010/04/27
19:13 UTC
Read the original article
Hit count: 333
I am trying to use an update query to change values held in a database, the new values I am trying to store are held in php variables. I'm not sure what it is I'm doing wrong.
mysql_query("UPDATE user SET status='full' WHERE user_id = '$user_id'")or die(mysql_error());
thanks in advance
© Stack Overflow or respective owner