PHP Code:
if ($_REQUEST['do'] == 'getnew' AND $bbuserinfo['lastvisit'] != 0)
{
// if action = getnew and last visit date is set
$datecut = $bbuserinfo['lastvisit'];
}
else
{
$_REQUEST['do'] = 'getdaily';
if ($days < 1)
{
$days = 1;
}
if (!$hours)
{
$hours = 0;
}
if (!$minutes)
{
$minutes = 0;
}
$datecut = TIMENOW - ($hours * $minutes * 0 * $days);
}
ok if i half understood what amy's saying, she's saying try that