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

From: Date: Tue, 04 May 2004 21:26:46 +0000
Subject: Re: Re: repeating data from one column until data from another column changes
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-185354@lists.php.net to get a copy of this message
"Msa" <melissa@maddesignusa.com> wrote in message news:20040504212120.92543.qmail@pb1.pair.com... > > "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message > news:40980736.4030707@webglobe.sk... > > date('m') was not parsed by php as it was in the string. Syntax > > highlighting would help you see it. Try: > > > > "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..... Could you post the printed $query string? Thanks. Torsten

« previous php.general (#185354) next »