| Recommend this page to a friend! |
| Classes of Alexander Skakunov | > | Quick CSV import | > | Download .tar.gz .zip | > | > | > | |||||
|
| ||||||||||||||||||||||||||||||||||||||||||||
| Detailed description | ||
| This class can be used to import data from CSV (Comma Separated Value) files into a given MySQL database table. It parses a given CSV file to extract the field names. Then it imports the data into the MySQL database using a LOAD DATA INFILE query to import the data in a much faster way than using SQL INSERT queries. If necessary, the class can also create the database table using the CSV file headers to retrieve the table field names. UPDATE: From now you can set the encoding table which is used to parse the file. |
| Groups | ||
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Databases | Database management, accessing and searching | View top rated classes | |
| Files and Folders | Listing, accessing and manipulating files and folders | View top rated classes |
| Trackback | ||||||
| Applications | Related links | |||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||