PHP Classes

Html data to mysql

Recommend this page to a friend!

      table2arr  >  All threads  >  Html data to mysql  >  (Un) Subscribe thread alerts  
Subject:Html data to mysql
Summary:Importing lot of data from html files (table) to mysql db
Messages:1
Author:marleo
Date:2007-10-26 15:39:03
 

  1. Html data to mysql   Reply   Report abuse  
Picture of marleo marleo - 2007-10-26 15:39:04
Hi,

I think this shouldn't be an hard task but my lack of understanding of php and the always not much time to do what I need pushed me to write this help request.

I've got a couple hundreds html file (around 1MB of data each) that use the same tables layout (same table structure and names, of course different data).

I need to import all this data to a mysql db (that need to be created).

Is it correct to use your class to create the arrays from the html table and then use insert SQL queries to import the data to the (at this point created) database structure?

Can you help me with some code example help?

Thank you in advance,

best regards.