mysql_query("UPDATE `user_data` SET `ID` = $ID, `IGN` = $IGN, `joindate` = DEFAULT, `rank` = $rank, `username` = $username, `password` = $password, `email` = $email, `flag` = $flag WHERE `ID` = $userID") or die(mysql_error());
that rather long piece of code is *meant* to update my database with some new details.Instead I just get redirected (which it only does if the query is ran), but then promptly sent back to my update page asking me to reenter the details.
You see when flag is 0 you get sent to the update page to enter new details, the details then get processed (I have checked all this) before getting updated into the DB.
Looks like this query is going unheeded??


Sign In
Create Account


Back to top









