This component is available in 37 other languages!
- Simplified Chinese
- Traditional Chinese
AboutImport large sets of data into an SQL table; ToSQL will create a suitable table structure, guessing data types, keys and more, and then proceed to inserting the data. This can be useful for those with large amounts of data stored in XML or JSON files, who want to make the transition to SQL.
$query = ToSQL::Import($table_name, $data, ToSQL::<type>); // mysql_query($query);
13 December 11
PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, MySQL 4.x, MySQL 5.x