<pre>
I have a problem inserting the following via php page...
insert into table1(message1)
values("this is nicki's test")
it always inserts "this is nicki\'s test"
this above has a backslash before the single quote(i don't know if that will come out).
i have also tried replacing the single quotes with a back quote and that too gets a backslash in the table. can anyone help?
here's code:
$submitted_message=eregi_replace("\'","`",$submitted_message);
UPDATE TABLE set
message=\"$submitted_message\"
where id=$picked_id";
$result7 = MSSQL_QUERY($query7);
</pre>
thanks!!