This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > July 2005 > Re: Pull value from database to complete a if/then





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Pull value from database to complete a if/then
Wally Kolcz

2005-07-11, 4:44 am

Here is my current code which pulls nothing.

<%IF mediatype = 4 Then%><img src="../images/ca/Flash-Logo.gif" width="60"
height="73" /><% End If%>
<%IF mediatype = 3 Then%><img src="../images/ca/qtlogo.jpg" width="60"
height="61" /><% End If%>
<%IF mediatype = 2 Then%><img src="../images/ca/WindowsMediaPlayerLogo.jpg"
width="60" height="60" /><% End If%>
<%IF mediatype = 1 Then%><img
src="../membersarea/projects/proofs/<%=(pi.Fields.Item("image").Value)%>"
alt="" name="thumbnail" width="60" id="thumbnail" /><% End If%>


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews