title: (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)
body: <p>I have got Parse error like this: </p>
  
  <blockquote>
    <p>syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting
    identifier (T_STRING) or variable (T_VARIABLE) or number
    (T_NUM_STRING)</p>
  </blockquote>
  
  <p>For below code line</p>
  
  <pre><code>&lt;?php
  $query = "SELECT license_parent_type_details.ParentTypeId,license_parent_type_details.TypeName FROM tenant.license_parent_type_details order by TypeName asc";
  $result = mysql_query($query);
  while($row_list = mysql_fetch_assoc( $result )) {
  </code></pre>
  
  <p><strong>For below code line</strong></p>
  
  <pre><code>echo '&lt;option value="'.$row_list['ParentTypeId'].'"&gt;'&lt;"'.($_POST['seltypes']==$row_list['ParentTypeId'] ? ' selected="selected" : '').'&gt;'. $row_list['TypeName']."'&lt;/option&gt;';
  </code></pre>