hi......

i created my login page...everything is working fine.

i want to know whether we can get the login date for each users when they login..
and when they login the date shud be posted in the database??

how to implement this...

Member Avatar
diafol

create a log table

Member Avatar
diafol

So what's the problem? Show your code.

//EDIT

Second thoughts - I got to be playing ping-pong with you in the last thread, and you never came back. Sorry but life's too short. Anybody else?

i want to know whether we can get the login date for each users when they login..
and when they login the date shud be posted in the database??

how to implement this...

if u r not interested to reply.......please dont reply

Member Avatar
diafol

Fair point, but don't worry, this is my last post to you on DW. Good luck.

Get the date they login as you run your login script:

$logindate = date('Y-m-d');

Then insert/update this date into your database table that is recording your logins.