OK how about.

Do a count of this monthes articles, if NONE, then run another query to
select the previous months articles.  Note, this would only "publish" this
or last monthes records.



> there are a different number of articles each month...:(
>
> "Daniel Clark" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hey Melissa.
>>
>> Will your articles always had a certain number (for each section) each
>> month?   If so a ORDER BY and LIMIT would work.
>>
>> Daniel
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to