Re: remote call - no return

From: Date: Wed, 21 May 2003 20:10:23 +0000
Subject: Re: remote call - no return
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148439@lists.php.net to get a copy of this message
On Wed, 21 May 2003 22:01:49 +0200 (MEST), Thomas Hochstetter wrote: > while(!feof($f)) > { > $line = fgets($f,100); //supposed to get the id back? > $id = $line; > } I suspect that your problem is that you are overwriting your result with a blank line. Try this: while(!feof($f)) $line .= fgets($f,100); //supposed to get the id back? Then echo $line.

« previous php.general (#148439) next »