div background-image url as string

how can i make a div background image read a string url?

[php]
$100 = “fibre”
.clipper {background-image: url(’.$100.’.jpg);}

[/php]

Put the variable in php tags.

Sponsor our Newsletter | Privacy Policy | Terms of Service