I've got the time fixed, but any torrent with a apostrophe (') in it keeps the torrent from being printed in the shoutbox - any one know why or how to fix?
$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New Torrent: ."/torrents-details.php?id=".$id."]".$name." has been uploaded by ."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "', '".get_date_time()."', '0')";
mysql_query($query);