someone who knows what function is used in PHP 7 to release results after a query. Because I know of mysqli_free_result (), but I think this should no longer be used in PHP 7.
someone who knows what function is used in PHP 7 to release results after a query. Because I know of mysqli_free_result (), but I think this should no longer be used in PHP 7.
If you are using the mysqli driver, it is as follows:
mysqli_free_result($sql);
If you use PDO, it would be:
$sentencia->closeCursor();