hello!
i have a table that looks like this:
month | day | hour | text
_______________________________________________
january | monday | 20:00 | some text....
january | tuesday | 22:00 | some text....
january | thursday | 21:00 | some text....
january | sunday | 19:00 | some text....
february | monday | 21:00 | some text....
february | sunday | 19:00 | some text....
etc.
i want to select stuff from table so the output looks like this:
JANUARY:
monday @ 20:00h
some text...
tuesday @ 22:00h
some text...
thursday @ 21:00h
some text...
sunday @ 19:00h
some text...
FEBRUARY:
monday @ 20:00h
some text...
tuesday @ 22:00h
some text...
etc.
of course, everything has to be dynamic, so there shouldnt be
echo "<b>JANUARY:</b>";
and similar stuff on the page...
...so how should query look like? (i need only query, i know how to display results...)
thanks in advance!
ps: sorry for posting this post twice but im really in hurry!