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.
php で cms を作成しました。wordpress と同じように親機能と注文機能を統合する必要があります。どうやってこれを行うのですか?ヘルプは本当に感謝しています。http://i.stack.imgur.com/zK5Na.jpg
名前付きのデータベーステーブルに2つの新しいフィールドを追加し、その親がそれ自体にある場合は親のIDを保持し、現在のレコードが親であることを識別するためにparent_idとして追加しparent_idます。orderparent_id0
parent_id
order
0
orderフィールドに整数値を追加して、どの注文ページまたはレコードが表示されるかを追跡できるようにします。