I'm not a PHP person but there are tools around that will do this for you i think....try doing a google search for csv to mysql. Others can probably help more with this.
Try this site as well
http://www.hkvstore.com/
I use their ASPMaker and can get the bare bones script for data access/search etc up and running in 5 minutes, just have to customise the script from that, and doing it will mean you learn quicker.
Carol