Im trying to figure out how to order by date from present to past in mysql. I came across post that showed how to do it like this.
$select_query="SELECT cust_id,DATE_FORMAT(startdate, '%m-%d-%Y')AS startdate,DATE_FORMAT(postdate, '%m-%d-%Y')AS postdate,zipcode, startdate as sortdate from drental ORDER BY sortdate DESC;
But I want to select ALL from the table. so how would I implement something like above, trying to select all rows from the table