Missing ) after argument list?

Hi, I have been try to load markers with infowindows displaying some MySQL database items and the output of source code shows all these items loaded however any browser not displays the google map and Firebug returns this error :


missing ) after argument list
http://trekhotel.com/bina/html/track1.php?route=52
Line 331


the source code line 331 is that :

  
<?
 echo "var marker = createMarker(point,'<div id=\\"infowindow\\" style=\\"white-space:wrap;width:400px;height:300px;font-family:Arial, Helvetica, sans-serif;font-weight:bold; color:#FF0000; font-size:14px;\\"><table><tr><td><a href=".addslashes($row['5'])." onclick='CB_Open(\\"href=".addslashes($row['6']).",,tnhrf=nopreview,,width='600',,height=500\\");return false' rel=\\"clearbox\\"><img src=".addslashes($row['5'])."></a></td></tr><tr><td><strong>Name:" .addslashes($row['3']) . "</strong><br><strong>Address: " .addslashes($row['4']) . " </strong></font></h2></td></tr></table></div>',markerOptions);\
"; 
?>

I don’t know if this error showing PHP syntax error or Javascript error.
thanks.

Side note -
Firebug traces the OUTPUT, not the FILE. It has no capability to analyze PHP.

You need to look at line 331 of the View Source of the output, not 331 of the PHP file…

You’re opening the second parameter of createMarker with a single quote, and then you use another single quote after onclick=, which is still a part of that second parameter if I’m correct. So that second single quote will be seen as the closing quote of the first.