I would like to set an inline css background image using a variable using a PHP echo.
echo "<div id='wtile' style='background:url(\'http://cdn.steamcommunity.com/economy/image/". $row["icon_url_large"]. "\');'>
<div id='name'> ". $row["market_hash_name"]. "</div>
<div id='price'> ". $row["avg_price_7_days"]. "</div>
</div>";
I tried this, does not seem to work. TIA