Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Last Login [PHP & MYSQL]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BIOS" data-source="post: 331696" data-attributes="member: 15674"><p>What do you mean by last login script, are you basically just trying to determine the last time a user logged in? If so that's extremely simple, you could just insert timestamp data into a field called lastlogin on the user's record upon the login script, and then when you wish to output the last login time you simply just format it into the date you want it to be from the timestamp with date("", $timestamp).</p></blockquote><p></p>
[QUOTE="BIOS, post: 331696, member: 15674"] What do you mean by last login script, are you basically just trying to determine the last time a user logged in? If so that's extremely simple, you could just insert timestamp data into a field called lastlogin on the user's record upon the login script, and then when you wish to output the last login time you simply just format it into the date you want it to be from the timestamp with date("", $timestamp). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Last Login [PHP & MYSQL]
Top