It turns out that I have this php file and it works perfectly locally but when I put it in a hosting it does not work and it sends me this error "PHP Fatal error: Uncaught Error: Call to undefined function getSQLResultSet ()" the php version is PHP: 5.6.30
<?php
include('DatabaseConfig.php');
$id=$_GET["id"];
if($resultset=getSQLResultSet("SELECT * FROM 'cliente' WHERE id='$id'")){
while ($row = $resultset->fetch_array(MYSQLI_NUM)){
echo json_encode($row);
}
}
?>