How to fix syntax error in PHP "unexpected ')'"
<p>I Have got Error in the Foreach loop in below Code,Can any one Help me to Fix the Error...</p>

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

&lt;?php



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

if(isset($_POST['submit'])){

foreach($_POST['todelete'] as delete_id){

$query="DELETE FROM email_list WHERE id=$delete_id";
mysqli_query($dbc,$query) or die("Error Querying Database");

}

echo "Customer(s) Removed";


}



$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>
