Results 1 to 3 of 3

Thread: [RESOLVED] How to replace image with default image ?

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Resolved [RESOLVED] How to replace image with default image ?

    I am using this code to display cd cover image and for some cds i do not have their cover pic in my db.Therefore,that feilad is empty . Is there a way in those case to put a default image such as covert does not exist image instead?

    <img src="./CdImages/<?=strval( $row['visual'] );?>"


    In anotherword, if <?=strval( $row['visual'] );?> produces no record replace it with for example nocd.jpg.
    Last edited by tony007; May 20th, 2006 at 07:58 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width