Mr Chris Posted January 8, 2007 Share Posted January 8, 2007 [code]select * from news_stories where section like '%$section%' AND unix_timestamp(published) <= unix_timestamp(NOW()) AND ( appeared LIKE '%$appeared%' )ORDER by id DESC") or die(mysql_error())[/code]Can anyone advise why to this does not work?ThanksChris Quote Link to comment Share on other sites More sharing options...
btherl Posted January 9, 2007 Share Posted January 9, 2007 What happens when you try to run it? Quote Link to comment Share on other sites More sharing options...
fenway Posted January 10, 2007 Share Posted January 10, 2007 I assume you have the matching quote & paren somewhere... and why run unixtimestamp for no reason? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.