note 18052 added to function.mssql-query
| From: | stewartATvardamanDOTorg at php2 dot chek dot com | Date: | Tue, 08 Jan 2002 23:48:03 +0000 |
| Subject: | note 18052 added to function.mssql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24556@lists.php.net to get a copy of this message | ||
It appears that beginning with 4.1.0, character strings pulled from MS-SQL fields have some
unprintable characters at the beginning and ending of the string.
This causes a problem when you select a field from one database and try to write it to another;
MS-SQL tells you there's unclosed quotes.
Use the trim() function to clean the fields.
--
http://www.php.net/manual/en/function.mssql-query.php
http://master.php.net/manage/user-notes.php?action=edit+18052
http://master.php.net/manage/user-notes.php?action=delete+18052
http://master.php.net/manage/user-notes.php?action=reject+18052