Re: Excel sheet operations with PHP

From: Date: Wed, 23 Oct 2002 10:31:34 +0000
Subject: Re: Excel sheet operations with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-121055@lists.php.net to get a copy of this message
I save excel sheets as CSV (Windows, not Mac), then use functions like fget_csv() to read the CSV file one line at a time, inserting into MySQL with standard insert queries. Have a go, and let me know if you need more help. I'm pretty sure there are decent samples of everything except the mysql stuff in the manual... I'll make the assumption you know how to insert :) Justin on 23/10/02 8:19 PM, Balaji Ankem (balaji.ankem@wipro.com) wrote: > Hi Friend, > How to read from Excel file and to insert in to the database? > Do we have any option to import excel sheet to Mysql database through > php? > Or any other mechanism? > > Any inputs will be greatly appreciable. > > Thanks and Regards > Balaji >

« previous php.general (#121055) next »