title: Parse error: syntax error, unexpected '<<' (T_SL)
body: <p>I have this code, but I'm getting <code>Parse error: syntax error, unexpected '&lt;&lt;' (T_SL)</code></p>
  
  <pre><code>&lt;?php
  
  $id = $_GET['id'];
  $con = mysqli_connect("localhost","root","root","chess");
  $result = mysqli_query($con , "select * from members where id=$id");
  
  echo &lt;&lt;&lt;_END;
  &lt;form action = "updatemem.php" method = 'POST'&gt;
  &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
  
  &lt;center&gt;
  
  &lt;b&gt;EDIT RECORD&lt;/b&gt;&lt;br&gt;&lt;br&gt;
  
  while($row = mysqli_fetch_array($result))
  {
  echo "ID: &lt;input type='text' name='id' value='$row[id]'&gt;&lt;br/&gt;";
  echo "Lastname: &lt;input type='text' name='lastname' value='$row[lastname]'&gt;&lt;br/&gt;";
  echo "Codename: &lt;input type='password' name='codename' value='$row[codename]'&gt;&lt;br/&gt;";
  echo "Location: &lt;input type='text' name='location' value='$row[location]'&gt;&lt;br/&gt;";
  echo "Rank: &lt;input type='text' name='rank' value='$row[rank]'&gt;&lt;br/&gt;";
  }
  
  
  &lt;br&gt;
  &lt;input type="submit" value="Edit Record"&gt;
  &lt;/center&gt;
  &lt;/form&gt;
  ?&gt;
  </code></pre>
  
  <p>the error is on line 7 which is <code>echo &lt;&lt;&lt;_END;</code> . I already tried <code>echo&lt;&lt;END;</code> and checking on whitespaces as what the other users commented on other thread having this same error. What are/is the possible solution to fix this error?</p>