Re: [PHP-WIN] Remove End of Line Characters

2008-06-30 Thread Jacob Kruger
Are you using Jaws at all? Not sure of other screenreaders, but in Jaws if you have the cursor on that character, if you then hit the numpad 5 character 3 times quickly, it'll return the character code for that character and you could then try replace that character specifically as such? Not 100

RE: [PHP-WIN] Remove End of Line Characters

2008-06-30 Thread Wei, Alice J.
Hi, for ($i=1; $i <= 3; $i++) { echo $i . ": " . $lines4[$i] . "\n"; list($words, $file) = explode(" ", $lines4[$i]); $carriage= array("\r\n", "\r", "\n"); str_replace($carriage, "", $lines4[$i]); echo "File: $file has $words words\n\n"; $query3="INSERT INTO youtoo(Description,Filename,Words) VAL

RE: [PHP-WIN] Remove End of Line Characters

2008-06-30 Thread Zephaniah ha Levi
My guess is that the squares are line feed or carriage returns. Do a str_replace on \r and \n -Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2008 1:25 PM To: php-windows@lists.php.net Subject: [PHP-WIN] Remove End of Line Characters Hi, I ha

[PHP-WIN] Remove End of Line Characters

2008-06-30 Thread Wei, Alice J.
Hi, I have a simple file as follows: There are in the total of 513 words in sinus.txt, lung.txt and stomach.txt. 151 sinus.txt 105 lung.txt 257 stomach.txt What I want to do is to print the first line in the Description column, and have each of the following lines be entered into the datab