Quote:
Originally Posted by MindTrix
would be this piece
PHP Code:
*****************
Open NEWREPLY.PHP
*****************
Find
-----------------------------------------------
$newpost['stickunstick'] = $_POST['stickunstick'];
$newpost['openclose'] = $_POST['openclose'];
-----------------------------------------------
After add
-----------------------------------------------
//RBS
$newpost['favouriteline'] = $_POST['favouriteline'];
if ( $newpost['favouriteline'] )
{
$DB_site->query("INSERT INTO " . TABLE_PREFIX . "battlesys_favlines VALUES ('', '".$newpost['favouriteline']."', '".$bbuserinfo['username']."', '".$foruminfo['forumid']."')");
$newpost['message'] .= "";
}
//RBS
|
Database error in vBulletin 3.0.6:
Invalid SQL: INSERT INTO battlesys_favlines VALUES ('', 'Don't try and duck or ditch hit or miss open your mouth and swallow my piss.', 'vinnycuz', '124')
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 't try and duck or ditch hit or miss open your mouth and swallow
mysql error number: 1064
I re ran the queries and made sure everything was good...i dont know whats up it doesnt wanna take...any ideas?