JayJabber Posted June 3, 2011 Share Posted June 3, 2011 $update_pass = mysql_query("UPDATE `clients` SET `ip` = '$ip', `port` = '$port', `header` = '$header', `footer` = '$footer', `jars` = '$newp', `password` = '$newp', WHERE `name` = '".$user_data."' LIMIT 1"); $final_report.="Your new information has been saved, you will need to login again."; @session_destroy(); I dont know whats wrong it dnt show a error message but does not update. Link to comment https://forums.phpfreaks.com/topic/238290-something-wrong/ Share on other sites More sharing options...
revraz Posted June 3, 2011 Share Posted June 3, 2011 Use mysql_error after your query to see why. Echo your query to see if your variables are populated. Remove the Limit 1. Remove the comma after '$newp' Link to comment https://forums.phpfreaks.com/topic/238290-something-wrong/#findComment-1224525 Share on other sites More sharing options...
JayJabber Posted June 3, 2011 Author Share Posted June 3, 2011 Use mysql_error after your query to see why. Echo your query to see if your variables are populated. Remove the Limit 1. Remove the comma after '$newp' Thanks it worked your a star and the first person that helped me proper Link to comment https://forums.phpfreaks.com/topic/238290-something-wrong/#findComment-1224526 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.