Manish Marathe wrote:
On 11/2/05, bala chandar <mbchandar@xxxxxxxxx> wrote:
Hi,
On 11/3/05, shimuqiiheb@xxxxxxxxxxx <shimuqiiheb@xxxxxxxxxxx> wrote:
Dear all:
whitch class can I read EXCEL .xls file
I want to read data from a excel's .xls file on Linux use php,please
tell
me way.
There is a phpexcelreader project going on sf.net <http://sf.net>. check
out there it works fine
Or if you do not want it to be completely automatic, export the .xls file in
.csv (comma separated values) and then do the usual file read, line by line.
For each line you get use the explode() function with the delimiter you have
set and then finally you will get an array of all values per line. Loop
through this till the end of the file.
There's fgetcsv()
http://www.php.net/fgetcsv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php