title: Getting Parse Error Unexpected "
body: <p>I am getting an error with the following message :-
  <code>Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\game.php on line 12</code></p>
  
  <p>Here is the source code :-</p>
  
  <pre><code>&lt;?php
   $words=$_GET['words'];
    $array=explode(",",$words);
      $j=count($array)-1;
   goto a;
  
  a:  shuffle($array);
      $num=$array[0];
      echo "The Number Is = $num";
      echo "&lt;br /&gt;";
      echo "Please Enter The Number Within 10 Seconds";
      echo "&lt;form method=\"get\" action=\"$_SERVER[\'PHP_SELF\']\" ";  **&lt;--Line 12**
      echo "&lt;input type=\"text\" name=\"num\"";
      echo "&lt;input type=\"submit\" value=\"Press Me! \"";
      $input=$_GET['num'];
      goto b;
  
  b: if($input==$array[0] &amp;&amp; $array!=NULL)
      {
          array_pop($array);
          goto a;
          }
      elseif($array!=NULL)
          {
              goto a;
      }
  else
      break;
  ?&gt;
  </code></pre>
  
  <p>Please don't say about the GOTO but rather on how to fix the error as I am only experimenting with it to see if it would solve the given question.</p>