Sub ShowContent() Dim I,PhotoUrl Response.Write "<FORM Action=""User_MyPhoto.asp?ChannelID=" & ChannelID & "&Action=Del"" name=""myform"" method=""post"">" Do While Not RS.Eof If RS("PhotoUrl")<>"" Then PhotoUrl=RS("PhotoUrl") else PhotoUrl="Images/nopic.gif" End If %>