Table from an array?
| From: | Chris Payne | Date: | Wed, 02 Feb 2005 21:41:42 +0000 |
| Subject: | Table from an array? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38455@lists.php.net to get a copy of this message | ||
Hi there everyone
Is it possible to create a database table from the first line of a CSV file?
What I mean is, how would you create the table columns based on the CSV
file’s columns? This would really help me out, as some times the table
column counts change on data I have to import, so it would be nice to have a
flexible DB structure rather than a static one.
Chris
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 2/1/2005