怎样上传一个csv文件更新数据库?
please select a scv file to upload
mysql_connect('localhost','root','admin');
mysql_select_db('linjuming');
// how to upload a scv file and insert or update the "csv" table?
?>

------解决方案--------------------
去看看 phpexcel 这个插件
------解决方案--------------------
csv可以当txt读取,直接读取然后对应导入啊