This is the error.
Warning: Invalid argument supplied for foreach() in /home/mafiafam/public_html/garage.php on line 112
This is the code.
if (strip_tags($_POST['D_s'])){
foreach($_POST['radio'] as $value) {
$count++;
mysql_query("DELETE FROM garage WHERE id='$value'");
}
echo "<font color=orange><center><b>$count cars droped</font></center>";
}
Can someone correct it for me please.
Warning: Invalid argument supplied for foreach() in /home/mafiafam/public_html/garage.php on line 112
This is the code.
if (strip_tags($_POST['D_s'])){
foreach($_POST['radio'] as $value) {
$count++;
mysql_query("DELETE FROM garage WHERE id='$value'");
}
echo "<font color=orange><center><b>$count cars droped</font></center>";
}
Can someone correct it for me please.