php script problem
<pre><code>   &lt;html&gt;
   &lt;body&gt; 

   &lt;?php 
   $con = mysql_connect("localhost","chamara","");
   if (!$con)
  {
die('Could not connect: ' . mysql_error());
}
mysql_select_db("ban", $con);
$result = mysql_query("SELECT * FROM basic");
while($row = mysql_fetch_array($result)) {------------###----------&gt;&gt;&gt;&gt;&gt;this line
echo $row['lisitem'] . " - " . $row['lisforhowmany'];
echo "&lt;br /&gt;";                      
 ?&gt;
&lt;/body&gt; 

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

<p>Dreamweavercs5 shows me a error near ending body tag with this script.
when i comment the line below ,dreAMVEAVER does not showing a error</p>

<p>while($row = mysql_fetch_array($result)) {</p>

<p>what's wrong with this line? </p>
