I'm using the following query:
$p = mysqli_query($link,"select distinct PossibleCondition,Symptoms from healthguide where Subpart REGEXP '^[A-D].*$' like '%$poscon%' and Order by PossibleCondition ");
It's giving me the following error:
mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in D:\xampp\htdocs\MMC\frame1.php on line 142
What should I do?