srinivas6203 Posted December 17, 2007 Share Posted December 17, 2007 Hi every one I am developing one website using php and mysql. I want to put user last visit time , when user login into my website. Can anyone help me about this. Thanq Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted December 17, 2007 Share Posted December 17, 2007 hi. Create a field in Mysql within your users account and name it Last_Login, and have its value as a timestamp. than when your user logs in update that field to =: date(), or strtotime("now YOUR_TIMEZONE"); etc etc. look into your date functions. gdlk 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.