I’m trying to make a page that updates the member list of my website, but for some reason it doesn’t actually update it. This is the code I’m using:
[php]mysql_query("
UPDATE member
SET username=$updateuser,password=$updatepass,email=$updatemail
WHERE id=$i;"
);[/php]
$i is the iteration number, and it gets the variables every time. I’ve echoed stuff onto the page to test that they work, and yes, all of my variables do. So why doesn’t the query work?
Thanks for any help you have! =)