bigbenbuilders Posted August 24, 2009 Author Share Posted August 24, 2009 also added the single quotes? WHERE member_id = '".mysql_real_escape_string($_SESSION['SESS_USER_ID'])."'"; Link to comment https://forums.phpfreaks.com/topic/170821-solved-doesnt-populate-the-database/page/2/#findComment-905400 Share on other sites More sharing options...
kickstart Posted August 24, 2009 Share Posted August 24, 2009 Hi Still looks like $_SESSION['SESS_USER_ID'] hasn't been set up. Double check. After the session start put this:- foreach ($_SESSION as $field=>$value) echo "$field - $value <br />"; That should put out all the session variable names and their values. Check that it is set up. All the best Keith Link to comment https://forums.phpfreaks.com/topic/170821-solved-doesnt-populate-the-database/page/2/#findComment-905404 Share on other sites More sharing options...
bigbenbuilders Posted August 24, 2009 Author Share Posted August 24, 2009 dang Im an idiot it is not 'SESS_USER_ID' BUT 'SESS_MEMBER_ID' works like a charm and thanks kickstart for your help...added the sing quotes and changed the session Link to comment https://forums.phpfreaks.com/topic/170821-solved-doesnt-populate-the-database/page/2/#findComment-905407 Share on other sites More sharing options...
play_ Posted August 25, 2009 Share Posted August 25, 2009 lol kickstart. sometimes i think you're a bot. All your posts start with 'hi' and ends with 'All the best Keith' =p Link to comment https://forums.phpfreaks.com/topic/170821-solved-doesnt-populate-the-database/page/2/#findComment-905478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.