Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つのテーブルからデータを削除したい:
このようなもの:
$rez = mysql_query("delete from slike where slike_id='$del' or delete from foto where foto_id='$del'");
どうすればそれを行うことができますか? ありがとう。
$rez = mysql_query("DELETE FROM slike WHERE slike_id='$del' AND TRUE=DELETE FROM foto WHERE foto_id='$del'");