Re: [PHP] strlen ?

[email protected] (Lester Caine)
Newsgroups php.general
Message-ID <[email protected]>
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?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.