Community

PDO exception query to order a date field

How to short a date field in drupal 7 order by Rolling month using PDO Exception query. Please any one help us to solve my query.

Comments

You need to provide more

You need to provide more detail on what you are doing and providing the exact error would help.

PDO Exception

In my website client post some events with date. we need to sort and display upcoming events based on the date. for example client post event1(13.2.2013),event2(26.12.2012),event3(01.04.2013) means we need to display this events in date wise order like event2(26.12.2012),event1(13.2.2013),event3(01.04.2013).

What are you doing to get the

What are you doing to get the error and what is the actual error?