View Single Post
  #8 (permalink)  
Old 05-03-2008, 03:59 PM
jsteinmann
 
Posts: n/a
Diggs:
Default Re: How would I express this correctly

i'm trying to read between the lines and I understand your theory, but I'm not
having much luck with implementing it.

for example:

elseif ($row_rs['loggedinip'] != $_SERVER['REMOTE_ADDR'] AND time() <
date('Y-m-d',strtotime($row_rs['lastlogin']+120 minutes) {

this doesn't work. The datetime is stored in the database as Y-m-d H:i:s

Reply With Quote