Labunski <mailto:[EMAIL PROTECTED]>
on Thursday, March 04, 2004 12:46 PM said:
> Hi, I need to convert the script below into the variable " $content ".
> How to do this?
> I need this because I want to have an output of this function
> anywhere where the $content is.
i think you want the following:
function output() {
$file = file("people.txt");
foreach($file as $value ) {
$output .= "$value<br>";
}
return $output;
}
<?php
$variable = output();
echo $variable;
?>
if this is not what you mean i'm afraid i don't understand your
question.
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php