Re: Control Structures

From: Date: Sun, 06 Feb 2005 20:02:45 +0000
Subject: Re: Control Structures
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208153@lists.php.net to get a copy of this message
Wil wrote:
The following code is attempting to compare the salary to the four other pre-defined variables with if and else statements. So the final output should result in 4 different statements. [snip]
if ($salary < maximum1); {
Take out the semi-colon in the above line and others like it. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#208153) next »