I have written a stored procedure for a table, and after that i am executing queries for same table in php function, But i am getting error :
Error in db :
You have to consume all selects, and navigate to next result
$sql="";
if (mysqli_multi_query($link, $sql)) {
do {
if ($result = mysqli_store_result($link)) {
while ($row = mysqli_fetch_array($result)) {
array_push($arrows,$row);
}
mysqli_free_result($result);
}
} while (mysqli_next_result($link));
}