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://www.openstreetmap.org/export/embed.html?bbox='.$artArr[$count]["Longitude"].'%2C'.$artArr[$count]["Latitude"].'%2C'.$artArr[$count]["Longitude"].'%2C'.$artArr[$count]["Latitude"].'&layer=mapnik&marker='.$artArr[$count]["Latitude"].'%2C'.$artArr[$count]["Longitude"].'" style="border: 1px solid black">:.')
1.4m articles
1.4m replys
5 comments
57.0k users