Home  >  Article  >  Backend Development  >  mysql展示select中查询字段名称

mysql展示select中查询字段名称

WBOY
WBOYOriginal
2016-06-13 10:34:211382browse

mysql显示select中查询字段名称
给定一个文本输入框
输入select查询语句
如何依次返回select中的字段名啊?
有没有mysql的语句?

------解决方案--------------------
mysql_field_name
mysql_ fetch_ field
mysql_ fetch_ array
------解决方案--------------------
用正则匹配最简单了!

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