RE: [PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-03 Thread Flint Doungchak
the length of the string is 20. - If I add trim($row[0]) I get the length of 4 (which is what i want). Any thoughts? -Flint -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 9:56 PM To: Flint Doungchak Cc: [EMAIL PROTECTED] Subject:

RE: [PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-03 Thread Flint Doungchak
Frank, Here's some additional info. The following code snippet does the following: -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 9:56 PM To: Flint Doungchak Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Required to Trim Variables

[PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-02 Thread Flint Doungchak
Hi all, I've got a rather iritating problem. I recently moved a site from PHP 3.0.11 to 4.0.5 RC1. It seems, and I have noticed this for a while in other scripts, that variables returned from MSSQL sometimes need to be trimmed with trim() in order to function correctly. Sometimes they won't eva