php - Can't update record in mysql -
my query returns me error, please let me know i'm doing wrong
$q="update 'id' set 'pass'='$pass1' 'name'='$user1'";
your sql wrong:
$q="update 'id' set 'pass'='$pass1' 'name'='$user1'";
it should like:
$q="update id set 'pass'='$pass1' 'name'='$user1'";
Comments
Post a Comment