You are here: Re: Import from csv file to MySQL « PHP Programming Language « IT news, forums, messages
Re: Import from csv file to MySQL

Posted by Smitro on 09/21/05 06:52

I think I've worked it out, I'm in the middle of writing the script.

I upload the file into $_FILES

grab the temp directory and temp file name etc from $_FILES

then run the mysql_query () something along the lines of "LOAD DATA
INFILE '$file_location' INTO TABLE tale_name etc...

I guess it's one of these things, if you look hard enough you'll find
an answer.

Thanks anyway.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация