e so I don't have to add any string processing at
all...
Thanks for all the help,
Kelvin.
-Original Message-
From: Dena Marchant [mailto:[EMAIL PROTECTED]]
Sent: 03 May 2001 16:32
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] inserting quotes into a database...
Kelvin, try replacing all
Turn on the magic_quotes_sybase setting in your php.ini file. Or, if you
prefer to do it manually, replace all single quotes in the fields with
two consecutive single quotes.
Andrian
Kelvin Luck wrote:
>
> Hi,
> I am having trouble inserting single quotes into an mssql database... my
> queries
Hi,
I am having trouble inserting single quotes into an mssql database... my
queries are taking the form:
mssql_query("update discussiontopics set comment = '$comment', title =
'$title', zoneid = $zoneID where topicid = $topicID");
If $comment or $title contain any single quote characters I get