Well, it looks like you're trying to add the value of $zeile to '<br>',
which is going to
give you a "0" or null return.
try .. echo $zeile."<br>";
and see if that doesn't solve your problem.
"Php News" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My code:
> $Newsfile = fopen("News.txt","r");
> while (!feof($Newsfile)) {
> $zeile = fgets($Newsfile,1000);
> echo $zeile+'<br>';
> }
> fclose($Newsfile);
>
> In the file is:
> Testfile!!!!!
>
> But I get a output:
> 0
>
> Why??
> Can someone help me???
> Please mail me at [EMAIL PROTECTED]!!!
>
> GreeZ,
> JSTHEMASTER!
>
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]