Interesting I tried that and got a parse error. Will try it again tonight when I get home.
Ok that works accept when I thry to insert it in the db I get a parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/nitrosim/public_html/forums/ladder.php on line 493. Here's the code any suggestions?
PHP Code:
$shouttext = "RACE UPDATE: $race at $qualtime on $qualdate";
$user = "5799";
$username = "Ladder Admin";
$vbulletin->db->query_write("INSERT INTO " . TABLE_PREFIX . "chatboxlite_shout(userid, username, shout, dateline) VALUES ('".$user."', '".$username"', '".$db->escape_string($shouttext)."', ".TIMENOW.")");