Below is my php code I want to show data in html table by reverse order of date but it is not working where is mistake I do not find My select query is as follows
Select a.wono,date_format(b.wodt,'%Y/%m/%d') as mydate from wodtl_box a, wohdr_box b where a.wono=b.wono order by date_format(b.wodt,'%Y/%m/%d') DESC