Jump to content

how to read excel file and upload in to database table


palani83

Recommended Posts

No. i want to use the php code to import the excel file to mysql database table......pls help me........
right, but you're going to need to use a language to construct the query...You use PHP (as that's what you say you're using) to make the requests (in SQL syntax) to the DB.
Link to comment
Share on other sites

If you're talking about an XLS file, there are classes people have made to read those:http://www.google.com/search?client=opera&...-8&oe=utf-8If you're talking about a CSV file, once the file is uploaded you can use fopen and then fgetcsv to read the data from it.http://www.php.net/manual/en/function.fgetcsv.php

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...