I have this line of code which seems to be ok ! but when i refresh the page it show me errors :
the error i get from the browser when i want to refresh !
Warning : mysqli_fetch_all() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\php\index.php on line 10
Warning : mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\php\index.php on line 11
I do not understand what is wrong !! everything seems to be totally fine ?!
how to fix that ??