Hi,

I am just trying to figure out why the following code works when included
in base.epl, but not when called with Execute from another .epl file (as
in [- Execute ('picture.epl') -]:

[$ if ($html =~ /Lower/i ) $]
<img
src="grafix/lower_school_pic.gif" width="171" height="171" border="0">
[$ endif $]

[$ if ($html =~ /Middle/i ) $] 
<img
src="grafix/middle_school_pic.gif" width="171" height="171" border="0">
[$ endif $]

[$ if ($html =~ /Upper/i ) $]
<img
src="grafix/upper_school_pic.gif" width="171" height="171" border="0">
[$ endif $]

[$ if ($html !~ /Lower|Middle|Upper/i ) $]
<IMG SRC="[+ $dir +]grafix/index_pic.gif" width=171 height=171 border=0>
[$ endif $]

When called with Execute, the code runs the last if statement.

Any help appreciated.

Gary


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to