I-AM-OBODO Posted October 2, 2008 Share Posted October 2, 2008 please where can i find a tutorial on this stuff or better still where i can get a script so i can modify it to suite my taste 1. a user registers with his details 2. login wit his username and password 3. when he clicks on a link sees all his personal details (which will contain all his transactions) 4. logs out. the one i designed don't show the transaction the user did. will appreciate a link to a tutorial or a script so i could modify. thanks Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/ Share on other sites More sharing options...
budimir Posted October 2, 2008 Share Posted October 2, 2008 Try to google for "PHP Login tutorials" There is plenty of good tutorials. Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/#findComment-655583 Share on other sites More sharing options...
revraz Posted October 2, 2008 Share Posted October 2, 2008 Once you track down a tutorial that you like (which as stated, there are plenty to try), then you just need to add the other functionality yourself. Like adding a link so they can view/edit their own info. Pretty basic stuff. Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/#findComment-655588 Share on other sites More sharing options...
I-AM-OBODO Posted October 2, 2008 Author Share Posted October 2, 2008 i have designed a login that works fine. users could login, but the problem is when i clicked to see a users details it does not show details. unless i indicate the users name. when two or more registers, it display just the first registerd person, that means it brings the detail that is partaining to another user. thats my problem Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/#findComment-655606 Share on other sites More sharing options...
revraz Posted October 2, 2008 Share Posted October 2, 2008 We would need to see your code on how you are linking them. When they log in, you can set a session variable that matches their ID in the DB. So when they click on the link to view their profile, it uses their ID number and pulls just that row. Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/#findComment-655628 Share on other sites More sharing options...
mac007 Posted October 2, 2008 Share Posted October 2, 2008 Hey, funky: I had same problem a while back, until I finally realized I needed to set the session, otherwise the page wont know who's member account it is supposed to be displaying... make sure on each page where you need to show a member's info you need to have session set with the session start command line... session_start(); Quote Link to comment https://forums.phpfreaks.com/topic/126748-help/#findComment-655631 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.