Answers for "undefined method mysqli_result::fetch_all()"

SQL
0

php undefined function mysqli_fetch_all()

$returnResult = []; //initialise empty array
while($row = $result->fetch_assoc())
{
    $returnResult[] = $row;
}
Posted by: Guest on June-30-2021
0

Call to undefined function mysqli_fetch_all()

$array = array();
while($row = $result->fetch_assoc())
    $array[] = $row;
Posted by: Guest on June-30-2021

Code answers related to "undefined method mysqli_result::fetch_all()"

Code answers related to "SQL"

Browse Popular Code Answers by Language