Home >php教程 >php手册 >php 读txt文件并插入数据库

php 读txt文件并插入数据库

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-21 08:52:211399browse

01 <?php

02  

03 $m = mysql_connect('127.0.0.1','root',''or die("Invalid query: " . mysql_error());

04  

05 mysql_select_db('discuz'$m
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP的SQL注入Next article:Windows 搭配 IIS7 PHP MySQL 环境