note 4753 deleted from fgets by ronabop

From: 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.

« previous php.notes (#2787) next »