Syntax

From: Date: Thu, 02 Aug 2001 15:10:26 +0000
Subject: Syntax
Groups: php.general 
Request: Send a blank email to php-general+get-60920@lists.php.net to get a copy of this message
Hi, I'm in a process of doing site with MySQL database, and most of the code I plased in index.php3 (in one file) but I've got some problems with statements: I have: if (isset(...)) { ... } elseif (isset(...)) { ... } elseif (isset(...)) { ... } else { ... } IT DOESNT WORK! but when I do: if (isset(...)): ... elseif (isset(...)): ... elseif (isset(...)): ... else: ... endif; It works, please tell me what a difference? what do I do wrong that firs variant doesn't work? Yury

« previous php.general (#60920) next »