php to my sql connection error

  1. P

    Android Question Error in php to my sql connection

    I got error when run php code while connecting to mysql. Please help me. Error given below... ( ! ) Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in C:\Program Files\Ampps\www\Piyush\test.php on line 21 Call Stack ( ! ) Warning: mysqli_free_result()...