Syntax Error, unexpected $end
<p>Been trying for hours this php embedding in html but something is wrong as i get a error:</p>

<p>Parse error: syntax error, unexpected $end in C:\Program Files\xampp\htdocs\profile.php on line 678</p>

<pre><code>&lt;select value='$pays' name='pays' id='pays' style='width: 204px;margin-bottom: 5px; outline-width:0;'&gt;
&lt;?php
$result = mysql_query("SELECT pays_az, pays_zz, pays_or FROM in_lays WHERE pays_flush = '1' ORDER BY pays_nom ASC");
while ($row = mysql_fetch_array ($result) )
{  ?&gt;
     &lt;option value="&lt;?php echo $row['dd']; ?&gt;"

     &lt;?php   if($row['dd_id'] == $pays)
     {
        echo 'selected="selected" ' ;
     }
     else
     {
           if($row['dd_id'] == "61")
        {
       echo 'selected="selected"' ;
        }
     }
 ?&gt;&gt;&lt;?php echo $row['lala']; ?&gt;&lt;/option&gt;
&lt;?php}?&gt;

&lt;/select&gt;
</code></pre>

<p>dont pay attention to the names in the sql request.</p>
