Re[2]: [PHP-DB] Dates and Count
| From: | Pablo M. Rivas | Date: | Mon, 05 Jul 2004 14:18:26 +0000 |
| Subject: | Re[2]: [PHP-DB] Dates and Count | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35127@lists.php.net to get a copy of this message | ||
Hello Shannon,
mmhh.. i think this is simple as:
Select * from mytable where nextcontact>='$today' and
nextcontact<='$week' and (custid=3 or custid=5) and (languaje='de'
or languaje='en')....
I'm not sure if it helps, but you can ask again or provide an
example... ;)
SD> Second I need the same scenario, however I want to search from a variety of
SD> different fields, show those that are between the dates and are equal to one
SD> other criteria.
SD> Any help on these two?
SD> Cheers,
SD> Shannon
--
Best regards,
Pablo