RE: [PHP] Making a variable

2001-02-26 Thread Dan Olsen
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

RE: [PHP] Making a variable -Trim output

2001-02-26 Thread Dan Olsen
{ $output .= $arrayoflines[i]; } } you’ll 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

RE: [PHP] Detecting JavaScript

2001-02-26 Thread Dan Olsen
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: