![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Import from csv file to MySQL
From: chrislive <chrislive@gmail.com>
Date: Wed Sep 21 2005 - 05:38:51 CEST
I am at work so I cant give you the code but what you need to do is the
1. upload to a temporary directory (say /temp - this folder will need
2. use the file_read funcions (look for tutorials on flat files for all
3. import your data into the DB
4. If successful use unlink($file); to delete OR print error message
Thanks
Smitro wrote:
|