note 4753 deleted from fgets by ronabop
| From: | ronabop@php.net | Date: | Sun, 20 Aug 2000 11:58:00 +0000 |
| Subject: | note 4753 deleted from fgets by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2787@lists.php.net to get a copy of this message | ||
I have a text file ,like this :
0012345 432 12345 567
0023456 656456 234
.....
the line length is fixed .
now I use $str=fgets($fp,"text file") to read this file
But when I echo $str ,the browser can't
show the white spaces.
it looks like :
0012345 432 12345 567
0023456 656456 234
....
I hope the browser can show the white spaces.