Have you tried addslashes () on the input lines before the insert?
Conover, Ryan wrote:
> I trying to insert some data into a MSSQL Server 7.0 database from Php. Some
> of the data has various characters ', > . How can I tell SQL Server to
> treat these characters as part of the input.
>
> Rya
in mysql i'd treat them as a char or varchar i would assume it would be the
same in MSSQL
-Original Message-
From: Conover, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 9:32 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] INSERT into MSSQL Serve
I trying to insert some data into a MSSQL Server 7.0 database from Php. Some
of the data has various characters ', > . How can I tell SQL Server to
treat these characters as part of the input.
Ryan Conover
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
3 matches
Mail list logo