i still facing addslashes problem
below is the name i select. and the error msg.
addslashes($row[name]) ;
S\' Pantile ---- from DB.
Warning: mssql_query() [function.mssql-query]: message: Line 2: Incorrect syntax near 'Pantile'. (severity 15) in C:\Apache Group\Apache\htdocs\leave\Leave_method.php on line 157
Warning: mssql_query() [function.mssql-query]: message: Unclosed quotation mark before the character string ')'. (severity 15) in C:\Apache Group\Apache\htdocs\leave\Leave_method.php on line 157
the task i want to do are i want select name from Db then insert into another table. but when insert, the error was occur. no matter i use stripslashes or addslashes, the problem stillcome out.
anyone can help me ??