importing a csv file
Posted: Mon May 12, 2008 8:12 am
hi
i know it is possible to take a csv file and import it to a mysql db via php
but my problem is that my order of data does not match the order of the fields of the db
i know i can do this with navicat, but i wanted to build an online solution
So what i want to know is, can i set the order that the data is imported in to the db with php?
and if you could give me some pointers or direction on where to look.
Cheers
Kevin
i know it is possible to take a csv file and import it to a mysql db via php
but my problem is that my order of data does not match the order of the fields of the db
i know i can do this with navicat, but i wanted to build an online solution
So what i want to know is, can i set the order that the data is imported in to the db with php?
and if you could give me some pointers or direction on where to look.
Cheers
Kevin