![]() |
converting to mysql date format
I have a query I'm working on that pulls data from 2 columns, named 'Month' and 'Year'. I want to then combine these two columns to a date and order the results by that that date. I've been trying for a while with little success, so I'd be greatful for any help.
Here are the 2 methods I've been trying what I have tried: 1) PHP Code:
PHP Code:
thanks! |
Try using two order statements.
PHP Code:
|
| All times are GMT. The time now is 03:50 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0