Hi All.
I am helping a collegue to do something I have no business helping with.
We have the following code:
This displays an image if the variable file01_filename exists in a flat file. What we now need to do it to check to see if the file01_filename extension is .doc or .pdf and display a generic graphic with a link to the doc or pdf file.
Any help is appreciated.
I know in CF it would be an
I am helping a collegue to do something I have no business helping with.
We have the following code:
Code:
<% if File01_filename %>
<a href="%File01_filename%">
<img src="%File01_filename%" border=0 width=180 />
</a>
<% end if %>
<% if not File01_filename %>
<% end if %>
Any help is appreciated.
I know in CF it would be an