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.


Reply With Quote
