phpvms Integrate with Ammap

Hi, I am trying for 2 days to solve the code for the connection with all the Aiports and the Map. Where is the mistake?

// Print out rows \<?php $airports = OperationsData::getAllAirports(); /\* Above \<td\> You have to put it \*/ foreach($airports as $airport) { "svgPath": targetSVG" ',' echo ' "title": ' . $airport-\>name . ',' echo ' "latitude": ' . $airport-\>lat . ',' echo ' "longitude": ' . $airport-\>lng . '' echo " }"; } ?\>

So I bring at least one airport …

 { "svgPath": targetSVG, "title": "\<?php echo $airport-\>name; ?\>", "latitude": \<?php echo $airport-\>lat; ?\>, "longitude": \<?php echo $airport-\>lng; ?\> }, ] }, \<?php } ?\>