Home >Backend Development >PHP Tutorial >怎么用php在mysql中插入列

怎么用php在mysql中插入列

WBOY
WBOYOriginal
2016-06-13 10:02:25933browse

如何用php在mysql中插入列?
如何用php在mysql中插入列?好像用alter语句可以   但是在php中用什么语句呢?

------解决方案--------------------
mysql_query( "alter table....... ")
前提是你有权限.
------解决方案--------------------
只有用mysql_query()等函数执行SQL语句...

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