PDA

View Full Version : $datecut question


Boofo
05-29-2010, 05:43 PM
If you have a session table query with the following:

WHERE lastactivity > " . intval($datecut) . "


do you really need to set $datecut, before the query, like this?

$datecut = TIMENOW - $vbulletin->options['cookietimeout'];


or will it handle it on it's own?