Hi Guys,
I need to import a CSV file of events into my db.
Could anyone point me in the right direction and tell me the best way to do it?
Thankyou
If all you want to do is import, check out phpMyAdmin which is a web/php based database admin tool.
It has an Import feature and allows you to import via CSV.
If you want to create a script that reads a file and then put the information into a DB, i think the Explode @php.net (or Explode @w3schools) function is useful. Also look at the different functions to open, close and read from a file: Filesystem Functions @w3schools (or Filesystem Functions @php.net )
Thankyou very much