|
Posted by J.O. Aho on 08/05/06 08:11
Shooter wrote:
> I don't follow you. We're not trying to create a CSV, we're trying to either
> update or replace an existing database with the most recent data (from a CSV
> file)...?
Don't see the point of using PHP for this, there are loads of cvs to mysql
scripts out in the world that would fix this for you. You can then just create
a directory where you place the new cvs, in crontab you can run a small script
that checks if the file is there, if so, run the cvs2mysql script and delete
the cvs, if no new file, then don't do anything.
//Aho
Navigation:
[Reply to this message]
|