eMonk Posted October 3, 2011 Share Posted October 3, 2011 When a user logs in and clicks on the update link they get sent to update.php. On the bottom of this page there is a "Back to Index" link which leads back to the page they were just on (index.php). However all the records in the mysql table is being listed instead if just the users. Any ideas why? I'm using sessions for my members area and echoing it to make sure it's being passed between both pages correctly and it is. Quote Link to comment https://forums.phpfreaks.com/topic/248318-problems-with-members-area-script/ Share on other sites More sharing options...
KevinM1 Posted October 3, 2011 Share Posted October 3, 2011 Without seeing your code, I'mma gonna guess it's due to solar flares. Quote Link to comment https://forums.phpfreaks.com/topic/248318-problems-with-members-area-script/#findComment-1275137 Share on other sites More sharing options...
PFMaBiSmAd Posted October 3, 2011 Share Posted October 3, 2011 LOL, I see two problems in your code. 1) You are using a while(){} loop to retrieve 'one' expected record. 2) Your WHERE term in the query has some problem. Quote Link to comment https://forums.phpfreaks.com/topic/248318-problems-with-members-area-script/#findComment-1275220 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.