How do u delete two IDs from two tabels in on click .. i tried this , but it only delete ID 1 from tabel one and no change to id in tabel two.
$sql = "DELETE FROM "._TABLE1." and "._TABLE2." WHERE id1 and id2 = ".intval($_GET['id'] );
what i try to do is when delete the ID from tabel 1 to also delete the same id from tabel 2.