perchè con sqlServer questo script non funziona?
codice:
$_POST['termine'] =
addslashes(stripslashes($_POST['termine']));
mssql_query("INSERT INTO glossario VALUES
('$_POST[url]', '$_POST[termine]', '$_POST[significato]')");
o meglio, se $_POST['termine'] contiene un testo normale l'inserimento funziona, ma se il testo contiene un apice (ad esempio la parola "l'altro" restituisce un errore:
Warning: mssql_query(): message: Line 1: Incorrect syntax near 'altro'. (severity 15)
La stessa sintassi con mysql funziona bene