Re: Re: repeating data from one column until data from another column changes

From: Date: Tue, 04 May 2004 21:46:53 +0000
Subject: Re: Re: repeating data from one column until data from another column changes
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-185359@lists.php.net to get a copy of this message
"Daniel Clark" <dclark@nwlink.com> wrote in message news:51606.65.203.232.102.1083706708.squirrel@webmail.pacifier.com... > Are you looping through the record set? > > >> "SELECT * FROM NewsArchive WHERE YEAR(date) = '" . date('Y') > >> . "' AND > >> MONTH(date) ='" . date('m') . "' ORDER BY sort > >> DESC"; > > > > Well, still not working...but maybe closer? Not getting an error message, > > just not returning any data..... Maybe there are no articles with a May date!?! Have you checked that - not you Daniel ;) Torsten

« previous php.general (#185359) next »