<form action='./add' method="post" enctype="multipart/form-data"> <table cellpadding='5px' align='center' width='100%'> <tr> <td><span style='color:red;'>*</span> 请选择文件:</td> <td><input type='file' name='excelname'></td> </tr> <tr> <td colspan='2'><input type='submit' name='submit' value='导入数据'></td> </tr> </table> </form>按照上述流程excel内容就可以正确导入到mysql中
写好的例子:http://yun.baidu.com/share/link?shareid=3068641847&uk=2903375990
php读取excel内容并写入mysql中
标签:excel读取 php读取excel excel写入数据库
查看更多关于php读取excel内容并写入mysql中的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did119230