Get rid of mysqli_fetch_all which is unsupported in some PHP install.