array_reverse



  • array_reverse as an example

    $qm = mysqli_query($c, "SELECT ....");
    while($row = mysqli_fetch_array($qm)) {
    ...
    

    That's bullshit.

    $qm = mysqli_query($c, "SELECT ....");
    while($row = mysqli_fetch_array(array_reverse($qm))) {
    ...
    

    Can you help me?



  • SELECT * from (SELECT * FROM t ORDER BY id DESC LIMIT 30) AS td ORDER BY td.id ASC


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 3
  • 1
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2