you can concatentate the variable inside the foreach loop.
foreach (file("$file.txt") as $line) {
$data .= ("" . trim(str_replace("'", "''", $line)) . "\n");
}
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:17 AM
To: [EMAIL PROTECT
{
$output .= $arrayoflines[i];
}
}
youll have to debug, but it should work.
DanO
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:43 AM
To: Dan Olsen; [EMAIL PROTECTED]
Subject: Re: [PHP] Making a variable -Trim output
this is a function that is BUILT-IN to HTML for the last few versions.
//some script here
--
this will redirect non-javascript browsers to a non-javascript page.
DanO
-Original Message-
From: Dave Goodrich [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 8:56 AM
To:
3 matches
Mail list logo