kjc
07-17-2002, 07:43 PM
I am building an e-commerce site for a client and require a page that will show products that were added to the database in the last week/ two weeks etc.
When a product is added to the database it has three seperate fields storing the date added in(01 - 31 format) month (January-December) and year( xxxx).
Is there anyway that I can run a mysql/php query that will just retrieve those products entered within the last xx weeks?
All help greatefully appreciated.
Kyle :thumbsup:
When a product is added to the database it has three seperate fields storing the date added in(01 - 31 format) month (January-December) and year( xxxx).
Is there anyway that I can run a mysql/php query that will just retrieve those products entered within the last xx weeks?
All help greatefully appreciated.
Kyle :thumbsup: