PHP MySQL expects mysqli boolean given

前端 未结 5 927
一向
一向 2021-01-29 07:38

I have a php script that changes a database when the page is requested. Here is the php:



        
5条回答
  •  悲哀的现实
    2021-01-29 08:20

    Unknown MySQL server host

    Mysql cannot find your server

    In this line, check your server

    $con=mysqli_connect("server","db","user","password")
    

    Check the documentation

提交回复
热议问题