Link14716
07-07-2003, 09:37 PM
Well, working on a script, I am hit with this error:
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in c:\foxserv\www\vb3\shoutbox.php on line 151
I can't tell what is wrong... here are lines 150-152:
$todayshouts = $DB_site->query_first("SELECT COUNT(*) AS count FROM shoutbox_posts WHERE time>='$today'");
$1day = "86400";
$24hoursago = ($time - $1day);
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in c:\foxserv\www\vb3\shoutbox.php on line 151
I can't tell what is wrong... here are lines 150-152:
$todayshouts = $DB_site->query_first("SELECT COUNT(*) AS count FROM shoutbox_posts WHERE time>='$today'");
$1day = "86400";
$24hoursago = ($time - $1day);