title: Getting "Unexpected Token < " on my Google Maps api v3
body: <p>I have a problem, I'm using <a href="http://vikku.info/programming/google-maps-v3/draggable-directions/saving-draggable-directions-saving-waypoints-google-directions-google-maps-v3.htm" rel="nofollow" title="SintaxError: Unexpected Token &lt; ">this project</a> to use of base on my project. I tryied to get the same result of the guys project, and used the same project to test in my SQL.</p>
  
  <p>I done the "index.php" works, and when I click "Save Route" it send a mensage "Updated", so, when I open "loady.htm" it give that error : "SintaxError: Unexpected Token &lt; "</p>
  
  <p>I used the same code, but changed the local host on process.php and the account and password.
  But this is the unique change.</p>
  
  <p>What's wrong on load.htm ? Or its an error on teste.php, I cant load the waypoints in "loady.htm"</p>
  
  <p>Links for test:</p>
  
  <p><a href="http://www.inventoresdegaragem.com/dbteste/index.htm" rel="nofollow">www.inventoresdegaragem.com/dbteste/index.htm</a> 
  and 
  www.inventoresdegaragem.com/dbteste/loady.htm</p>
  
  <p>Edit 2: This is my process.php</p>
  
  <pre><code>&lt;? ob_start(); header('Cache-Control: no-store, no-cache, must-revalidate');
  
  @$data = $_REQUEST['*******'];
  
  
  $host = 'localhost';
  $usuario = '******';
  $banco = '******';
  $senha = '******';
  $db = mysql_connect($host, $usuario, $senha);
  mysql_select_db($banco, $db);
  
  
  
  if($_REQUEST['command']=='save')
  {
  
      $query = "update mapdir set value='$data'";
      if(mysql_query($query))die('bien');
      //die(mysql_error());
  }
  
  if($_REQUEST['command']=='fetch')
  {
      $query = "select value from mapdir";
      if(!($res = mysql_query($query)));      
      $rs = mysql_fetch_array($res,1);
      die($rs['value']);      
  }
  
  ?&gt;
  </code></pre>