dont u think it should be :
Having it like thisCode:$result = mysql_query("DELETE FROM" . $data[0] ." WHERE ID IN(" .$data[1] . ")");
would make the SQL query exactly "DELETE FROM $data[0] WHERE ID IN($data[1])", which obviously would give an error...i thinkCode:$result = mysql_query("DELETE FROM $data[0] WHERE ID IN($data[1])");![]()




Reply With Quote