SQL query returning false in PHP

后端 未结 2 1866
感情败类
感情败类 2021-01-27 03:50

I am trying to perform this query in PHP however it keeps returning false. I have tried the query in phpMyAdmin and it works fine so if anyone can spot what is wrong that would

2条回答
  •  迷失自我
    2021-01-27 04:37

    Close first connection using mysqli_close($conn); after first query is finished then open a new connection with include 'connection.php'; before the second query. Credit to @Chay22

提交回复
热议问题