Ken2k7 Posted May 30, 2009 Share Posted May 30, 2009 What's wrong now? Quote Link to comment https://forums.phpfreaks.com/topic/160216-why-wont-this-work/page/2/#findComment-845527 Share on other sites More sharing options...
Andy-H Posted May 30, 2009 Share Posted May 30, 2009 He is using intVal(); on the username session string. Which will return an integer, 1; I think? //Replace: $id = intval($_SESSION['id']); //With: $id = mysql_real_escape_string($_SESSION['id']); Quote Link to comment https://forums.phpfreaks.com/topic/160216-why-wont-this-work/page/2/#findComment-845866 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.