title: PHP error: "syntax error, unexpected T_STRING, expecting ',' or ';'"
body: <p>I got this message 
  (syntax error, unexpected T_STRING, expecting ',' or ';')
  when I was trying to run the following code:</p>
  
  <pre><code> &lt;html&gt;
   &lt;head&gt;
  
   &lt;/head&gt;
   &lt;body&gt;
   &lt;title&gt;Num One Website&lt;/title&gt;
  
   &lt;?
   $con = mysql_connect("","","");
   if (!$con)
     {
     die('Could not connect: ' . mysql_error());
     }
  
   mysql_select_db("", $con);
  
   $result1 = mysql_query("SELECT * FROM Students") ;
  
   echo "&lt;form action='ConfirmEnter.php' method='post'&gt;";
   echo "&lt;input type="Radio" name="mark" value="mt"&gt;"."MidTerm&lt;br&gt;";
   echo "&lt;input type="Radio" name="mark" value="pr"&gt;"."Project&lt;br&gt;";
   echo "&lt;input type="Radio" name="mark" value="fi"&gt;"."Final&lt;br&gt;";
   echo "&lt;table border cellpadding=3&gt;"; 
   echo "&lt;tr&gt;"; 
   echo "&lt;th&gt;ID&lt;/th&gt;";
   echo "&lt;th&gt;MidTerm&lt;/th&gt;"; 
   echo "&lt;th&gt;Project&lt;/th&gt;"; 
   echo "&lt;th&gt;Final&lt;/th&gt;";
   echo "&lt;th&gt;Total&lt;/th&gt;". "&lt;/tr&gt;";
  
   $count=1;
  
   while($row1 = mysql_fetch_array($result1)) 
    { 
    echo "&lt;tr&gt;";
    echo "&lt;td&gt;&lt;input name='ID[]' readonly='readonly' value='". $row1['ID'] ."'      size=5/&gt;&lt;/td&gt; "; 
    echo "&lt;td&gt;&lt;input type='text' name='mt[]' size=5 value='0.0' /&gt;&lt;/td&gt;";
    echo "&lt;td&gt;&lt;input type='text' name='pr[]' size=5 value='0.0' /&gt;&lt;/td&gt;";
    echo "&lt;td&gt;&lt;input type='text' name='fi[]' size=5 value='0.0' /&gt;&lt;/td&gt;";
    echo "&lt;/tr&gt;";
   $count++;
    } 
   echo "&lt;/table&gt;"; 
   echo "&lt;input type='submit' value='Submit' /&gt;";
   echo "&lt;/form&gt;"; 
   mysql_close($con);
  
  
   ?&gt;
  
   &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>The error in these lines:</p>
  
  <pre><code> echo "&lt;input type="Radio" name="mark" value="mt"&gt;"."MidTerm&lt;br&gt;";
   echo "&lt;input type="Radio" name="mark" value="pr"&gt;"."Project&lt;br&gt;";
   echo "&lt;input type="Radio" name="mark" value="fi"&gt;"."Final&lt;br&gt;";
  </code></pre>
  
  <p>I looked for this problem in your website and other websites but I couldn't find the solution for it.</p>