Hi, I got this error. Please help.
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in
$result_1= mysqli_query($link, "SELECT $criteria FROM table ORDER BY '".$crieria."' ASC);
$array1 = array();
while($row = mysqli_fetch_array($result_1)){
array_push($array1, "$row[0]->$criteria", "$row[5]->$criteria" , "$row[10]->$criteria");
}