Re: strlen ?
| From: | Lester Caine | Date: | Sat, 06 Jul 2013 18:23:47 +0000 |
| Subject: | Re: strlen ? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321560@lists.php.net to get a copy of this message | ||
Jim Giner wrote:
AH - I use that to flag the end of line when I pulled the data apart - so it gets stripped ;) Then I found fgetcsv() which replaced the manual code and gave just the data as an array. -- 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.ukIt'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.