Howlin Mad Murdock
05-07-2001, 01:17 PM
Hello,
I am working on writing a page with news content in it. I would like it to display the news from say the last month. So far my query look like this:
select * from news
Now I know I need to add the where part but I dont know how to manipulat the dates. I need something like:
select * from news where date= today - 31 days
How do I put this in Mysql code?
Thanks,
Murdock
I am working on writing a page with news content in it. I would like it to display the news from say the last month. So far my query look like this:
select * from news
Now I know I need to add the where part but I dont know how to manipulat the dates. I need something like:
select * from news where date= today - 31 days
How do I put this in Mysql code?
Thanks,
Murdock