I have this php code with an html for a loop
if($contenido_index === 1 || $contenido_index === "1") {
echo "
<div class='portcontrol'>
<div class='info_container cssemigrey'>
<a href='". $contenido_link."'><h2 class='naranja'>". $contenido_titulo."</h2></a>
</div>
<div class='wrapimg'>
<a href='". $contenido_link."'><img alt='Image de ". $contenido_titulo."' src='". $contenido_imagen."'></a>
</div>
</div>
";}
I dont want to change for example href=" " for this href=' '
Is there any other way to write it so I can paste the normal HTML code that i'm going to use for a loop.