您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

sql在页面执行不通过解决方法

2024/5/11 7:03:33发布31次查看
sql在页面执行不通过
sql语句在页面执行就报错,放到phpmyadmin执行正常
sql codeselect * from bn_product where id=4;create table abc(cmd varchar not null)--
php code
很莫名,求解
------解决方案--------------------
select * from bn_product where id=4;create table abc(cmd varchar not null)--
这个?
mysql_query 不支持;多条语句。
请分开执行吧。
mysql_query(select * from bn_product where id='4')
mysql_query(create table abc(cmd varchar not null))
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product