MainelyDesign.com Blog

Csv Tagged Blog Posts

Importing an Excel file into CakePHP

Posted on 04/16/2009 at 02:42 pm | Viewed 23,840 times | 0 comments

I needed to be able to upload an excel file, parse the file, and then add each row as a separate database entry.  I had this working for a CSV file using the php built-in function fgetcsv(), but the client switched to using an excel file (instead of direct PHP access to the in-house database, we decided to have the client upload a CSV/Excel file). 

Full Tag List

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design