Re: tweeking WHERE clause

From: Date: Wed, 05 May 2004 15:50:15 +0000
Subject: Re: tweeking WHERE clause
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-185444@lists.php.net to get a copy of this message
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" <dclark@nwlink.com> wrote in message > > news:32029.65.203.232.102.1083771238.squirrel@webmail.pacifier.com... >> 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 > >

« previous php.general (#185444) next »