Re: SQL question
| From: | Skip Evans | Date: | Wed, 27 Jan 2010 22:03:14 +0000 |
| Subject: | Re: SQL question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301572@lists.php.net to get a copy of this message | ||
Kim Madsen wrote:
But Skip, as the others say, use a date class, since you're passing a php var on to the SQL anyway, then you could determine the exact days from start to end of donation. Combine this with to_days and you have your solutionYes, this sounds like the best way to go. Thanks everyone! Skip -- ==================================== Skip Evans PenguinSites.com, LLC 503 S Baldwin St, #1 Madison WI 53703 608.250.2720 http://penguinsites.com ------------------------------------ Those of you who believe in telekinesis, raise my hand. -- Kurt Vonnegut