RE: [PHP-DB] [php] file open
| From: | Christian Rosentreter | Date: | Mon, 24 Mar 2003 12:53:43 +0000 |
| Subject: | RE: [PHP-DB] [php] file open | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26595@lists.php.net to get a copy of this message | ||
>> -----Original Message-----
> From: Snijders, Mark [mailto:Mark.Snijders@atosorigin.com]
> Sent: Monday, March 24, 2003 1:30 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] [php] file open
> i'm using the next code:
>
> $fp=fopen("WBSMUTA.CSV","r");
> while (!(feof($fp))) {
> $data_file=fgets($fp,4096);
> echo "<br>$data_file<br>";
$data = file("WBSMUTA.CSV");
$cnt = count($data);
for ($i=2; $i< $cnt; $i++)
{
echo "<br>".$data[$i]."<br>";
}
regards,
Christian