Thread: Updating users
View Single Post
Old 02-09-2008, 12:45 AM   #5 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default

Quote:
Originally Posted by xenon View Post
Perhaps you could paste the query in here?

PHP Code:
mysql_query("UPDATE `users` SET `username` = '"mysql_real_escape_string($username) . "', `password` = '"mysql_real_escape_string($password) ."', `email` = '"mysql_real_escape_string($email) ."', `access` = '"mysql_real_escape_string($access)."', `joindate` = '"mysql_real_escape_string($date)."' ") or die(mysql_error()); 
All those variabes are from the $_POST array.
__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote