<?php
$bla=$_GET['category'];
$bla1= " SELECT * FROM project where id=$bla ";
$result1= mysqli_query($db, $bla1);
if(!$result1) {
die("hehehe");
}
while($result2 = mysqli_fetch_array('result1')){
echo $result2['project_name'] ;
}
?>
whats wrong in this? I am getting this warning
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, string given in ...