mysqli multiple queries - set variable produces boolean error/how to skip this?

后端 未结 2 1182
滥情空心
滥情空心 2021-01-22 08:17

Got the following simple query which works fine through phpmyadmin but when I add it to my php website no results are returned and no error/warning messages either. If I remove

2条回答
  •  没有蜡笔的小新
    2021-01-22 08:39

    Multiple queries via mysql_query aren't supported, so I'd guess that it's only executing the SET command, and not the subsequent SELECT command.

提交回复
热议问题