import spreadsheet
| From: | Angelo Zanetti | Date: | Fri, 27 Jul 2007 09:01:21 +0000 |
| Subject: | import spreadsheet | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-259657@lists.php.net to get a copy of this message | ||
Hi guys
Does anyone have any resources or links as to how to import a spreadsheet but it might have different number of columns and many sheets (those tab things at the bottom).
What I thought of doing was creating a table that has 10 fields and if the file thats being imported only has 4 fields then the remaining six fields are blank.
So basically my script must dynamically take the format (which changes) and try save it in the database in a semi standard format.
If anyone thinks its possible or not please advise. Any help or advice would be greatly appreciated.
THanks in advance
--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------
*Telephone:* +27 (021) 552 9799
*Mobile:* +27 (0) 72 441 3355
*Fax:* +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* angelo@zlogic.co.za <mailto:angelo@zlogic.co.za>