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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to