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 for diafol

create a log table

i created login table.....

Member Avatar for 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 for 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.

thx.....i got the output..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.