Is this valid: IF:.. ELSE: ENDIF:
| From: | David Jackson | Date: | Sat, 04 May 2002 14:14:05 +0000 |
| Subject: | Is this valid: IF:.. ELSE: ENDIF: | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-96044@lists.php.net to get a copy of this message | ||
Greeting ---
I was handed a broken form that contain:
IF (cond):
.........
ELSEIF:
......
ENDIF:
My Questions are:
1. Is this type of "IF:" code block valid in PHP4.x.x?
2. Shouldn't it be --
IF (cond):
ELSE:
or maybe
IF (cond):
ELSEIF (cond):
ELSE: