mikebarbaro
05 Apr 2011, 06:33 PM
I have a simple query that I want to use to query the MySQL database and come up with my 5 of my upcoming events that are listed.
I am currently using SELECT * FROM `events` ORDER BY `start_date`, `time` ASC LIMIT 5
For some reason when I take out the LIMIT 5 it works but with the LIMIT 5 it shows nothing.
Any help is appreciated.
I am currently using SELECT * FROM `events` ORDER BY `start_date`, `time` ASC LIMIT 5
For some reason when I take out the LIMIT 5 it works but with the LIMIT 5 it shows nothing.
Any help is appreciated.