RE: [PHP] fgetcsv() excel data missing
| From: | Binoy AV | Date: | Fri, 18 Feb 2005 13:55:15 +0000 |
| Subject: | RE: [PHP] fgetcsv() excel data missing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209023@lists.php.net to get a copy of this message | ||
Hi,
Thanks for the reply.
It shows ÐÏࡱá\\\\\\\\\\\\\\\\>\\þÿ etc.
source code I used is
$handle = fopen ("file.xls","r");
while ($data = fgetcsv ($handle, 1000, ","))
{
$num = count($data);
for ($c=0; $c < $num ; $c++)
{
$str_email = $data[$c];
echo $str_email;
}
}
Binoy
______________ ______________ ______________ ______________
Sent via the WebMail system at softwareassociates.co.uk
---
Scanned by MessageExchange.net (13:55:17 SPITFIRE)