Re: strlen ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/6/2013 2:59 AM, Lester Caine wrote:
Jim Giner wrote:
And the answer is - yes, there is a LF char at the end of my data in
my whole
table.

Now the question is - how the heck did I put that in there?  Certainly
not
intentionally.  The data is captured from a d/e screen I wrote and it
simply
grabs the post value and inserts a new record with that value along
with some
other values.  And I don't see anything concatenating a LF to my string.

The obvious question that comes to mind is 'What OS'? Having seen this
sort of niggle many times I tend to find it relates to something working
'cross-os' a bit like windows ignoring case in file name and linux then
complaining it can't find a file.

It's probably worth checking the sting length back through your code
just to confirm what added it?

The best I can figure is that I did a preload of many of the names from a csv file. Apparently when I do that it stores the LF at the end of the csv line. Have to remember that the next time.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux