I am getting the below error.
Error
SyntaxError: missing } after property list
content:Al futaim, trading company
<br />
Building M, 36, Saih Shuaib 3 —
PHP code
$content=$servicecenter->getCompanyName()."<br />".$servicecenter->getAddress()."<br /><button type='button' value='Get Direction' class='button' onclick='closeInfoWindow(),calcRoute()' name='Get Direction'>Get Direction</button>";
Script
var infowindow = new google.maps.InfoWindow({
content:<?php echo $content; ?>;
});