怎样上传一个csv文件更新数据库?
<p>please select a scv file to upload</p>
<form action="index.php" method="post">
<input type="file" name="scv"  />
<input type="submit" value="submit" />
</form>
<?php 
mysql_connect('localhost','root','admin');
mysql_select_db('linjuming');
// how to upload a scv file and insert or update the "csv" table?

?>