Okay so this is what I'm trying to do;
In a loop I want to print different divs that all have a different background image (the background image is stored in a table in a row called "thumbnail").
Code:
print("
<div id=\"thumbnail\" style=\"background: url(\"images/portfolio/{$row['thumbnail']}\"); width: 240px; height: 160px;\">
title
</div>
");
But only the titles show up, not the background.
I'm totally not familiar with anything of PHP and this seems very simple, but I have no idea on what I do wrong.
Could someone maybe help me out?