[thelist] Problem with SQL Query - using PHP and MySQL

Paul Bennett Paul.Bennett at wcc.govt.nz
Mon Nov 13 16:55:52 CST 2006


+1, (Matt bet me to the reply :) )

If you use 'group by' on your  event title, you should be able to get a result like:
> City Council Meeting - 11/15
> Farmers Market - 11/13
> Farmers Market - 11/20
> Farmers Market - 11/27

So you can just loop through the result set and print another row when the title changes.


Paul



More information about the thelist mailing list