Re: "IF" statements

From: Date: Wed, 23 May 2001 03:16:14 +0000
Subject: Re: "IF" statements
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53971@lists.php.net to get a copy of this message
"chris herring" <chrisherring@subdimension.com> wrote: > if ($date == 24 && $hour == 3) { } > > But that doesn't work... Any help is appreciated Your logic is correct. If the code within the braces isn't working it's likely there's either an error in the code within the braces or $date and $hour aren't returning the values you expect. Try echoing them before the if statement to verify they contain the values you expect. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/

« previous php.general (#53971) next »