Re: Table from an array?
| From: | Jason Wong | Date: | Wed, 02 Feb 2005 23:57:33 +0000 |
| Subject: | Re: Table from an array? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38458@lists.php.net to get a copy of this message | ||
On Thursday 03 February 2005 05:41, Chris Payne wrote:
> 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?
Parse the first line and extract the column names, construct a suitable SQL
statement to create table?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
New Year Resolution: Ignore top posted posts