Shares - Loans - Online Advertising - Mortgage - Pontins

PDA

View Full Version : Important an Excel spreadsheet in to SQL database


mnymkr
May 1st 2007, 2:02 pm
How might we import an excel spreadsheet into a sql database?

void
May 1st 2007, 3:59 pm
I'd save the Excel file as .csv and then import using something like phpMyAdmin.

mnymkr
May 1st 2007, 4:21 pm
ok what if i need for someone who does not have phpmyadmin access to do it

sarahk
May 1st 2007, 4:24 pm
Create a script to read the csv file, parse it into an array and then create the insert statements.

see http://www.php.net/fgetcsv