J.
Cc: Zephaniah ha Levi; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Remove End of Line Characters
Wei, Alice J. wrote:
> Hi,
>
> for ($i=1; $i <= 3; $i++) {
>
> echo $i . ": " . $lines4[$i] . "\n";
> list($words, $file) = explode(" &quo
Wei, Alice J. wrote:
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(Descript
- Original Message -
From: "Wei, Alice J." <[EMAIL PROTECTED]>
To: "Zephaniah ha Levi" <[EMAIL PROTECTED]>;
Sent: Monday, June 30, 2008 8:46 PM
Subject: RE: [PHP-WIN] Remove End of Line Characters
Hi,
for ($i=1; $i <= 3; $i++) {
echo $i . &q
=
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
________
From: Zephaniah ha Levi [EMAIL PROTECTED]
Sent: Monday, June 30, 2008 1:41 PM
To: Wei, Alice J.; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Remove En
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