[snip] 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;
}
}
[/snip]
You have to save the .xls file as a .csv file, then you can open and getcsv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

