[Wolves] Php question

Alan Pope alan.pope at gmail.com
Mon Jan 17 20:25:05 GMT 2005


On Mon, 17 Jan 2005 20:19:45 +0000, Wayne Morris <wayne at machx.co.uk> wrote:
>         $time = time();
>         $result = mysql_query( "SELECT ad_id, cat_id, subject, add_date FROM
> ads WHERE exp_date>$time ORDER BY add_date DESC LIMIT 20" ) or error(
> mysql_error() );

> Can anyone see why it breaks at the point it does, the page works fine
> on its own.

I'm no PHP exprt but should it be

..... exp_date>".$time." ORDER .....

?



More information about the Wolves mailing list