The Official EHTML Page - Code ELSE

To Control The Flow Of Your Page


The <ELSE> code under EHTML is used to selectively choose whether or not to show a certain portion of your page, known as a block, based on where the client is located on the Internet. A block is considered anything between the <ELSE> and <ENDIF> codes. The <ELSE> block must follow an <IF> or an <ELSEIF> block. Control is passed to <ELSE> if the proceeding condition was not true.


Setup

The <ELSE> code always has the basic format of:

 <IF %location% == domain> - or - 
 <IF %location% != domain>
Some EHTML/HTML codes...
<ELSEIF %location% == domain> - or - <ELSEIF %location% != domain>
Some EHTML/HTML codes...
<ELSE>
Some EHTML/HTML codes...
<ENDIF>


[ EHTML Overview | EHTML Setup | EHTML Codes | EHTML Problems ]
Please Report Problems With This Page To: Vaxxine Web Development, vaxxweb@vaxxine.com


Original EHTML documentation by RK. EHTML originally designed by JP, updates by RK.