Show img then table info = "rock" , another img then table info ="trance"...

Hello, how I can show images in php then

db table - “music” , $row[‘musictype’]."

then musictype = “rock” show rock.jpg img
then musictype = “trance” show trance.jpg img

Thanks for help! :slight_smile:

Hi there,

I would guess you are after this method:
[php]echo ‘'.$row['musictype'].'’;[/php]

Thank you this is exactly what I was looking for! :o

p.s. I am “easy”.

Sponsor our Newsletter | Privacy Policy | Terms of Service