Checkbox Inside While in PHP
<p>In the Below Code,CheckBox didn't come on the first rows of the Table.Can any one Help me..</p>

<p>rgds,
Sirojan</p>

<pre><code>&lt;body&gt;
&lt;form method="post" action="&lt;?php  echo $_SERVER['PHP_SELF'];?&gt;"

&lt;?php
$dbc=mysqli_connect("localhost","root","","elvis_store") or die("Error Connecting to Mysql Database");

$query="SELECT * FROM email_list";
$result=mysqli_query($dbc,$query)or die("Query Syntaxt is Incorrect");

while($row=mysqli_fetch_array($result)){

    echo '&lt;input type="checkbox" value="'.$row['id'].'" name="todelete[]"/&gt;';
    echo $row['first_name']." ".$row['last_name']." ".$row['email'];
    echo "&lt;br/&gt;";
}
mysqli_close($dbc);
?&gt;

&lt;input type="submit" name"submit" value="Remove"/&gt;
&lt;/body&gt;
</code></pre>
