mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean with mysqli

后端 未结 2 1540
花落未央
花落未央 2020-12-22 08:21

I am not able to get the warning the sql query is working and mysqli_query() returns 1 and each time my database is also being updated . What is the problem?

2条回答
  •  情话喂你
    2020-12-22 08:31

    According to another question here :

    The INSERT command will return a boolean(true/false), So you must use select command to get the required result

提交回复
热议问题