UD2006
10-21-2009, 01:41 PM
I have a form to add contact info to the mysql database, when added to the database every record gets a unique id (it's not the primary or index column, just a column I created).
This all works perfect.
But I also have a csv sheet with contact data, I know how to import it, but then the unique id is not added.
How can I "create" a php code that imports the records from the csv file to mysql and with that add a unique id to every record that is being imported.
I have no clue on doing that, so if someone could help me with that would be great.
Thanks in advanced.
This all works perfect.
But I also have a csv sheet with contact data, I know how to import it, but then the unique id is not added.
How can I "create" a php code that imports the records from the csv file to mysql and with that add a unique id to every record that is being imported.
I have no clue on doing that, so if someone could help me with that would be great.
Thanks in advanced.