djscousey Posted November 4, 2007 Share Posted November 4, 2007 Hi all, I have a website currently http://www.scouselandonline.com. I would like to create a login feature for the Site Admin i.e Me and fellow DJ´s. But i want it so, when we log it, a picture on the index.html page (DJ Playing Now) will change to the corresponding one. I.E when i log in it displays "djscousey.jpg" when MC MiniMat logs in it displays mcminimat.jpg etc. etc. I really am a learner at php, so i thought maybe you guys could put me in the right direction... my server is capable of MySQL if this is needed. Thanks in advance, DJ Scousey Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 4, 2007 Share Posted November 4, 2007 We are best at helping with code that is already partly written. If you have absolutely nothing so far, suggest you read through several PHP Freaks tutorials on sessions and creating login pages, etc etc... you need to start at first base, so don't worry about jumping to image issues. Get your login page squared away (and yes, I would definitely suggest utilizing the MySQL available to you!). PhREEEk Quote Link to comment Share on other sites More sharing options...
kratsg Posted November 5, 2007 Share Posted November 5, 2007 What your talking about is kinda like having a 'user' profile.. Simply utilize the database to store image urls for each user, and call up that value for each user and display it when they log-in correctly. Quote Link to comment 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.