You can get the data order by ascending and descending by using dbOrderBy function.
$pdocrud = new PDOCrud(); $pdocrud->dbOrderBy("id desc");//descending //$pdocrud->dbOrderBy(array("id desc","order_no desc"));//pass in array echo $pdocrud->dbTable("orders")->render();