Home > Database > Mysql Tutorial > body text

mysql-php分离文本信息写入到数据库

WBOY
Release: 2016-06-06 09:39:33
Original
1109 people have browsed it

mysqlphp数据

如何用php分离一个txt文本里的地区编码(10位数字)和地区信息(中文),还包括换行等字符,然后将地区编码写到mysql表的地区编码字段,地区信息写到mysql表的地区信息字段,求详细的思路,数据量大约有几1000行
目前能找到的规律是(字符串数字字符串数字......)

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template