Re: How to Compare dates?
| From: | Richard Lynch | Date: | Fri, 03 Aug 2001 02:40:27 +0000 |
| Subject: | Re: How to Compare dates? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61059@lists.php.net to get a copy of this message | ||
> if ( ( mysql_result($db_result,$db_record,'order_date')==0) ) ) {
I count three ('s and four )'s
That's a parse error. Your ( and ) have to "match up"
> Parse error is the result in all these attempts...with quotes, single or
double,
> no quotes, zero or multiple zeros...by the way the timestamp returns all
those
> zeros so I was being specific....
The quotes and 0's are irrelevant until you get the ()'s right.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm