the following error is thrown:
Fatal error: Trying to clone an uncloneable object of class mysqli_result
when I'm trying to use clone directly for a mysql query result:
$result = mysqli_query($con, $query);
$resultsClone = clone $result;
is there a way to clone mysqli object?