Hi all,
I have this code:
My question is how can i display the rows in reversed order.
I don't want to use 'order by DESC' in SQL statement.
I need to do that in PHP.
Any help?
I have this code:
Code:
$query= "select * from table1";
$result= mysqli_query($db, $query);
@$num_results= mysqli_num_rows($result);
My question is how can i display the rows in reversed order.
I don't want to use 'order by DESC' in SQL statement.
I need to do that in PHP.
Any help?