EuroNet Posted March 5, 2012 Share Posted March 5, 2012 ---- I can not do this : $sql = mysql_query("UPDATE myMembers SET email_activated='1' WHERE id='$id' AND password='$hashpass'"); ---- i get this: $msgToUser = "<br /><br /><h3><strong><font color=red>Your account could not be activated!</font></strong><h3><br /> <br /> Please email site administrator and request manual activation. "; thanks guys Quote Link to comment https://forums.phpfreaks.com/topic/258334-can-not-update-table/ Share on other sites More sharing options...
Pikachu2000 Posted March 5, 2012 Share Posted March 5, 2012 var_dump the values of $id and $hashpass and compare them to the actual data in your database and see if they match exactly. Quote Link to comment https://forums.phpfreaks.com/topic/258334-can-not-update-table/#findComment-1324228 Share on other sites More sharing options...
EuroNet Posted March 5, 2012 Author Share Posted March 5, 2012 thanks guys, i did it, im stupid Quote Link to comment https://forums.phpfreaks.com/topic/258334-can-not-update-table/#findComment-1324230 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.