note 92398 deleted from function.fgets by danbrown

From: Date: Thu, 23 Jul 2009 01:19:59 +0000
Subject: note 92398 deleted from function.fgets by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158603@lists.php.net to get a copy of this message
Note Submitter: afwxkat at gmail dot com Reason: 0 ---- Just realized that my code snippet was missing an end brace. This is the correct code: <?php if($fh = fopen("filename","r")){ while (!feof($fh)){ $F1[] = fgets($fh,9999); } fclose($fh); } ?>

« previous php.notes (#158603) next »