I have this code. What this code do is it will display query output at the top and bottom. Query execution is at bottom.
<span><?php echo mysqli_num_rows($result) ?></span>
//my other code here
//query database
$result = mysqli_query($con, "SELECT brand, url,...
while ($row = mysqli_fetch_array($result)) {
echo $row['brand'];
echo $row['url'];
}
I have few constraint which is I cannot put my query at the top and multiple select
query. How do you suggest I solve this problem? Thank you.