vendredi 8 janvier 2021

How to embed if in an echo and returning an

I am trying to use if in an echo with the ternary operator, but instead of a value, when if turns true it should display an iframe

echo(...'.((!$artArr[$count]["Longitude"] == null && !$artArr[$count]["Latitude"] == null)?<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://ift.tt/3onabyF'" style="border: 1px solid black">:.')

Aucun commentaire:

Enregistrer un commentaire