Hi all,
Please I'm a newbie in PHP and MySQL, I have results from a GROUP BY (grouped by col2) query in the format.
col1 | col2
-----------
a1 | a
a2 | a
a3 | a
a4 | a
b1 | b
b2 | b
b3 | b
I wish to display the results in the format
----
a
----
a1
a2
a3
a4
----
b
----
b1
b2
b3
I'll appreciate any help on how to go about this.