0
Hello
I’m displaying an HTML content with CSS formatting using PHP print_r, but I’m having doubts when the simple quotes, I opened the STYLE with simple quotes, but inside the image selection has 2 simple quotes too, but it’s not working, how I shape it correctly ?
<?php print_r("<div value='6_1' style='background-image: url('../img/banner-product.png')'></div>"); ?>
try using echo instead of print_r
– Amadeu Antunes