mysqli_fetch_row () mengharapkan parameter 1 menjadi mysqli_result, boolean diberikan

change that if statment to

  if(!$result) {
Santino