Here is what I'm trying to achieve:

*10.04.2004.*
- news 1
- news 2
- news 3
*14.04.2004.*
- news 4
*15.04.2004.*
- news 5

What method will be the best. Do I have to use two queries. One to select (5) last dates, and then loop throug that results and select news.

select dates
while (dates)
select news where dates
endwhile

Im shure that there is the easier way.

I'm using PHP/MySQL (3.23.56)

TNX


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to