ronghel Posted September 28, 2007 Share Posted September 28, 2007 hmmm i made a login script works so fine... but i got a problem .. i want to display the information about the one who logged in... hows that? can u gimme the details huhu.. im such a noob huhuh.. Link to comment Share on other sites More sharing options...
eko_wardoyo Posted September 29, 2007 Share Posted September 29, 2007 you can use session to know who's login into your website Link to comment Share on other sites More sharing options...
ronghel Posted September 29, 2007 Author Share Posted September 29, 2007 nope i mean.. the information all about who logged in is saved in my database... i want to do is when he logged in it will show all the infos about him sich as name, address and etc... Link to comment Share on other sites More sharing options...
Synook Posted September 29, 2007 Share Posted September 29, 2007 Well, why not? Just make him enter thos dtails when he registers, and make the login page point to another page that calls his details from the database and prints them out on the page... Link to comment Share on other sites More sharing options...
ronghel Posted September 29, 2007 Author Share Posted September 29, 2007 hows that? im just in beginning in php so i dont about that hehe.. i know only is the basic?... how to call the details from the database?.. Link to comment Share on other sites More sharing options...
shujjah Posted September 29, 2007 Share Posted September 29, 2007 you can save the user id in the session so when he logs in he will be redirected to the page where u want to display his info. then u can select the row of the user by using his user id and can fetch it out and echo and you are done. Link to comment Share on other sites More sharing options...
smiles Posted September 29, 2007 Share Posted September 29, 2007 nope i mean.. the information all about who logged in is saved in my database... i want to do is when he logged in it will show all the infos about him sich as name, address and etc...Get his IP and maybe you know where he is living Link to comment Share on other sites More sharing options...
Synook Posted September 30, 2007 Share Posted September 30, 2007 What sort of format are you storing user data in? Database or flat file? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.