[Phpmyadmin-devel] [Fwd: csv -> mysql]

ArnĂ³r arnor at netvistun.is
Mon Jun 12 12:06:31 CEST 2006


Sebastian Mendel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Garvin Hicking schrieb:
>   
>> Hi!
>>
>>     
>>> or just scan first few lines (let user decide how much lines) and than
>>> (optionally) recommend the table structure to the user and let him
>>> decide to change or use the recommendation - if we cannot save the file in a temp
>>> dir the user needs to upload the file twice
>>>       
>> This idea sounds quite good, IMHO. It's a bit of work when user interaction is
>> possible there, but IMHO it could be a really useful feature for some people.
>> Great idea. :-)
>>     
>
> first line could also be treated optionally as field names - like
> excel?/access? it does - whether commented out or not
>
> //'fiedl1'; 'field2';
> 01; 'text';
>
> or
>
> 'fiedl1'; 'field2';
> 01; 'text';
>
>   
Yes, and make it create appropriate column types detected by the data in 
the columns :) (as far as that goes)

best regs, Arnor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20060612/0395e427/attachment.html>


More information about the Developers mailing list