How do i show a background image in inline css in PHP?

<div class=”featured-img” style=”background-image:url(‘images/uploads/stry-teer.jpg’);”></div>

New to PHP. The image was showing okay in pure html but now I’m converting to php how do I echo the image so that it shows in browser.

Read more here:: How do i show a background image in inline css in PHP?

Leave a Reply

Your email address will not be published. Required fields are marked *