Priyam Posted December 5, 2019 Share Posted December 5, 2019 Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\phpprogramme\project\gmail.php on line 31 Link to comment Share on other sites More sharing options...
Priyam Posted December 5, 2019 Author Share Posted December 5, 2019 Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\phpprogramme\project\gmail.php on line 31 please reply Link to comment Share on other sites More sharing options...
Necuima Posted December 6, 2019 Share Posted December 6, 2019 (edited) Hi Priyam, What script in Larry's book are you trying to use (and page number in the book)? Also see: https://www.w3schools.com/php/func_mysqli_num_rows.asp Necuima Edited December 6, 2019 by Necuima Added info Link to comment Share on other sites More sharing options...
Larry Posted December 8, 2019 Share Posted December 8, 2019 Basically that just means your query failed to run, which means the database spat out an error instead of any results. Link to comment Share on other sites More sharing options...
Recommended Posts