Can not get the following code to delete Jack.... What is wrong with the code?
<?php
===QueryString===
delete.php?q=169|170|171|
$arr = explode('|', $q);
for ($i = 0; $i < count($arr); $i++) {
$query .= "DELETE FROM aCar WHERE aID =
'".$arr."'";
$result =mysql_query($query);
}
?>
Thanks in Advance!