php3-list | 199901
Date: 01/08/99
- Next message: Alessandro Vullo: "[PHP3] regular expressions question"
- Previous message: Chad Cunningham: "[PHP3] double posts?"
- In reply to: Brian Schaffner: "RE: [PHP3] 'OR' problem"
- Next in thread: Daniel Beckham: "Re: [PHP3] 'OR' problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> uhmm... i don't recall the : being added to work like you're using it.
No, you can use either construct:
<?
if (condition) {
stuff
} else {
other stuff
}
?>
or
<?
if (condition):
stuff
else:
other stuff
endif;
?>
_________________________________________________________________________
Colin Viebrock Creative Director
easyDNS Technologies
be the master of your domain ... http://www.easyDNS.com
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>
- Next message: Alessandro Vullo: "[PHP3] regular expressions question"
- Previous message: Chad Cunningham: "[PHP3] double posts?"
- In reply to: Brian Schaffner: "RE: [PHP3] 'OR' problem"
- Next in thread: Daniel Beckham: "Re: [PHP3] 'OR' problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

