Hello everyone.
Really quick question for you all 🙂
I have a database that holds tour dates for local bands and stuff. I have one column called show_id which increments automatically and another called tour_date which holds the day in format YYYYMMDD.
The goal is to sort the shows (when displayed on a site) using the column tour_date.
This is easy with my current format YYYYMMDD, but I was wondering if I used the PHP function date() and the sql date (format YYYY-MM-DD), would I still be able to sort the output using the dates and not the show_id.
Thanks!