encountered a problem today
$sql = $mysqli->query(
"SELECT .... "
);
I have a query that I want to apply to two while, but only the first one has a response
<? while ($row = mysqli_fetch_array($sql)){ ?>
<? }?>
<? while ($row = mysqli_fetch_array($sql)){ ?>
<? }?>
is there any way to implement the same query that can be applied to two while? In the same place.