if ($intNumber % 2 == 0) && ($intNumber != 7)
If works like this:
If (condition)
block of commands
[elseif (condition)
block of commands]
[else
block of commands]
The round parentisis are mandatory. inside square parentises are optional fields.
Your error was that the parentises you opened for the condition you closed in the middle of the condition.
Another thing, you should place parentises just to improve the reading of the code, so i suggest you to use this:
if ((($intNumber % 2) == 0) && ($intNumber != 7))
Anikin
Hugo Alexandre Dias
Web-Programmer
anikin@ip.pt