Re: PHP and Microsoft SQL 7

From: Date: Tue, 10 Oct 2000 13:43:07 +0000
Subject: Re: PHP and Microsoft SQL 7
Groups: php.general 
Request: Send a blank email to php-general+get-19342@lists.php.net to get a copy of this message
>Try > >mssql_query("insert into news set >(field1,field2,field3,field4,field5,field6) values >($ar,$manad,$dag,$tid,$head,\"$content\")"); No, \" can not be used when inserting into strings on MS SQL. you should use a single quote to indicate begining and end of string values. - Frank

« previous php.general (#19342) next »