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'])."'"; Quote 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 Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.