Answers for "Call to undefined method mysqli_result::fetchall() in"

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 "Call to undefined method mysqli_result::fetchall() in"

Code answers related to "SQL"

Browse Popular Code Answers by Language