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="Markshall" data-source="post: 331857" data-attributes="member: 1872"><p>It's likely you don't actually have a constant defined as USER_ID. I'm assuming Jay wanted you to change that to whatever variable your user ID is called</p><p></p><p>Also, the whole 'strtotime' line is useless because if you're storing time() in the LastLogin column, it'll already come out as a UNIX time stamp so essentially you'll be converting a UNIX time stamp to a UNIX time stamp, which I guess may give you a different value? Not sure. So you can remove that line</p></blockquote><p></p>
[QUOTE="Markshall, post: 331857, member: 1872"] It's likely you don't actually have a constant defined as USER_ID. I'm assuming Jay wanted you to change that to whatever variable your user ID is called Also, the whole 'strtotime' line is useless because if you're storing time() in the LastLogin column, it'll already come out as a UNIX time stamp so essentially you'll be converting a UNIX time stamp to a UNIX time stamp, which I guess may give you a different value? Not sure. So you can remove that line [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Last Login [PHP & MYSQL]
Top