
September 21st, 1999, 05:54 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Maybe the slash is not working for M$SQL.
Try adding a second apostrophe to each one:
$name = str_replace("'", "''", $name);
eg:
if name = "D'ALMASSO", it works "D''ALMASSO" to query the database.
|