Re: [PHP] Control Structures

2005-02-06 Thread Marek Kilimajer
Wil wrote: To PHP list: 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. What is the best way to do this? Following is the code... if ($salary < $currentmax

Re: [PHP] Control Structures

2005-02-06 Thread John Holmes
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. --

[PHP] Control Structures

2005-02-06 Thread Wil
To PHP list: 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. What is the best way to do this? Following is the code... ";} else { echo "You currently pay t