Re: [PHP-DB] Last monday query question

2004-08-06 Thread Jason Wong
On Friday 06 August 2004 05:33, Adrian Madrid wrote:
 How do you select all articles from last monday on (and that I can use
 that query today and always too)? I've been trying to figure out how to
 do this query but so far all I can do is create a /very /long query and
 it doesn't seem to work all the time. Any ideas?

Use strtotime() and maybe PHP's other date/time functions then plug into your 
query.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
Slous' Contention:
If you do a job too well, you'll get stuck with it.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Last monday query question

2004-08-05 Thread Adrian Madrid




How do you
select all articles from last monday on (and that I can use that query
today and always too)? I've been trying to figure out how to do this
query but so far all I can do is create a very long query and
it doesn't seem to work all the time. Any ideas?

Thanks in advance,


-- 
Adrian Madrid
http://www.hyperxmedia.com
HyperX Media
45 West 9000 South, Unit 2
Sandy, UT 84020
Office: 801.566.0670


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php