images from db

Results 1 to 2 of 2

Thread: images from db

  1. #1
    Join Date
    Dec 1969

    Default images from db

    i have managed to get an image path from a db to work on my website however there is a lot of null fields in the image_path feild in the database. does anyone no of a way to run some sort of if-then statement on this, so if there is a null field it will load a logo instead<BR><BR>thanks for your time

  2. #2
    Join Date
    Dec 1969

    Default RE: images from db

    Try this...<BR><BR>If adoRS("image") &#060;&#062; "" Then<BR> show adoRS("image")<BR>Else<BR> show preset logo<BR>End If<BR><BR>Regards,<BR>Rob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts