Good morning. I am working on an asp file that is scripted in Perl. Basically, it is a combination of a banner rotation and time clock that I am calling from another asp file. The banner rotation section basically takes a delimited list of variables (image, text, and url). Then it rotates the image with associated text and link. <BR><BR>What I would like to do is ONLY have links shown for those images that have associated URLs. Some of the images do not have links to them. I tried a variety of different codes within the banner/clock asp file, including &#060;%if $url%&#062;&#060;%endif%&#062; and currently I have these codes between &#060;% %&#062; of the banner rotation section:<BR><BR>if ($Image == $url) {<BR> $output .= "&#060;a href=\"$url\"&#062;&#060;img SRC=\"$img\" alt=\"Rotating Image\" border=\"0\"&#062;&#060;/a&#062;";<BR> $output .= " &#060;/td&#062;&#060;/tr&#062;&#060;tr&#062;&#060;td valign=\"top\" bgcolor=\"EEEEEE\"&#062;&#060;div align=\"center\"&#062;";<BR> $output .= "&#060;center&#062;&#060;table border=\"1\" width=\"100%\" cellpadding=\"2\" cellspacing=\"0\"&#062;";<BR> $output .= "&#060;tr&#062;&#060;td&#062;&#060;font face=\"Verdana\" size=\"1\"&#062;&#060;b&#062;Photo Caption:&#060;/b&#062;";<BR> $output .= " &#060;a href=\"$url\"&#062;$text&#060;/a&#062;&#060;/font&#062;&#060;/td&#062;";<BR> $output .= "&#060;/tr&#062;&#060;/table&#062;&#060;/center&#062;&#060;/div&#062;&#060;/td&#062;&#060;/tr&#062;";<BR> }<BR>else {<BR> $output .="&#060;img SRC=\"$img\" alt=\"Rotating Image\" border=\"0\"&#062;";<BR> $output .= " &#060;/td&#062;&#060;/tr&#062;&#060;tr&#062;&#060;td valign=\"top\" bgcolor=\"EEEEEE\"&#062;&#060;div align=\"center\"&#062;";<BR> $output .= "&#060;center&#062;&#060;table border=\"1\" width=\"100%\" cellpadding=\"2\" cellspacing=\"0\"&#062;";<BR> $output .= "&#060;tr&#062;&#060;td&#062;&#060;font face=\"Verdana\" size=\"1\"&#062;&#060;b&#062;Photo Caption:&#060;/b&#062;";<BR> $output .= " $text&#060;/font&#062;&#060;/td&#062;";<BR> $output .= "&#060;/tr&#062;&#060;/table&#062;&#060;/center&#062;&#060;/div&#062;&#060;/td&#062;&#060;/tr&#062;"; <BR> }<BR>$output .="&#060;/table&#062;&#060;/center&#062;&#060;/div&#062;";<BR><BR>Then after the %&#062; I have called the variable, $output, by using the following code: &#060;%=$output%&#062;.<BR><BR>The problem is that images that do not have URLS are linked to the asp directory where I have this asp file located.<BR><BR>Anyone know how I can solve this problem.<BR><BR>TIA.<BR><BR>Regards,<BR><BR>Eliot Lee