Hello PHP Freaks -
I'm querying a large database of events and would like to change the query behavior to enable a more user friendly experience.
I'm currently using the following code:
$query="SELECT * FROM schedule ORDER BY short_title ASC LIMIT $limitvalue, $limit";
Which produces something like:
Event A on 01/01/12
Event A on 01/04/12
Event A on 01/08/12
Event B on 01/01/12
Event B on 01/04/12
Event C on 01/08/12
Event C on 01/01/12
Event C on 01/04/12
Event D on 01/08/12
... and so on. This is producing like 30 pages of results for people to wade through. What I would like to do is have it where it shows just one entry for Event A, one entry for Event B, and so on, and from that link I'll take them to a full page of all the date options.
I hope I'm explaining it clearly. Any help would be greatly appreciated!
Thanks.