I have a table with a DATETIME column in it. It stores all of our printing information, input from HP's web jet admin.
Is there any way that I can get a list of the months of data available in there? For example, I want to dynamically create a HTML dropdown box using PHP.
To make this a little clearer - if I had the following entries in my table:
The SQL statement would need to return the following values:
Hope I have made myself clear?
View Complete Post