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: 331790" data-attributes="member: 15674"><p>You can't just put all of that in one place lol, if I gave you the whole code I'd have to make the login script as well etc. </p><p></p><p>You would just run a query which will update the last login time within your actual PHP login script so it will update the last login time every time a user successfully logs in.</p><p></p><p>And then where ever you want to display the time that the user last logged in the second part, use a query to select the data and then format it with date().</p></blockquote><p></p>
[QUOTE="BIOS, post: 331790, member: 15674"] You can't just put all of that in one place lol, if I gave you the whole code I'd have to make the login script as well etc. You would just run a query which will update the last login time within your actual PHP login script so it will update the last login time every time a user successfully logs in. And then where ever you want to display the time that the user last logged in the second part, use a query to select the data and then format it with date(). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Last Login [PHP & MYSQL]
Top