Hmmm.... I may be using addslashes(); wrong but this is what happens....
INSERT Output = INSERT INTO Products (Display_name, Mini_pic, Big_pic, Brief_desc, Brief_2nd_desc, Price, Listed_price, Quanity, Specifications, Warranty, Added_info, Show) VALUES ('Test', '', '', '', '', '0', '', '', 'Test\\'s', '', '', '1')
Error = Warning: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 3: Incorrect syntax near 's'., SQL state 37000 in SQLExecDirect in C:\Documents and Settings\Chad\Desktop[url]www.M&MElectronics.com\Admin\Products\Products\Add.php[/url] on line 30
When using addslashes(); like this....
$Specifications = $_POST['Specifications'];
$Specifications = addslashes($Specifications);
While the input field for Specifications = Our's
Any Idea?
Abarak2002