Ken2k7 Posted May 30, 2009 Share Posted May 30, 2009 What's wrong now? 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']); 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
Archived
This topic is now archived and is closed to further replies.