0

Shared hosting changes the server in which php website is hosted then when opening the site i have encountered error Uncaught Error: Call to undefined function mysqli_fetch_all() i have seen stackoverflow solutions but not clear for me. On my php section mysqli is installed and active thanks. here is my php file

<?php
include 'connection/conn.php';

$sql = "SELECT * FROM mydoc";
$result = mysqli_query($conn, $sql);

$files = mysqli_fetch_all($result, MYSQLI_ASSOC);
?>
Khal
  • 219
  • 5
  • 19

0 Answers0