Re: "Last monday" query question

From: Date: Fri, 06 Aug 2004 06:10:32 +0000
Subject: Re: "Last monday" query question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-35616@lists.php.net to get a copy of this message
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. */

« previous php.db (#35616) next »