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フォーラムを持っています。私のインデックス ページには 3 つのカテゴリがあります。1-2-3 としましょう。それらのいずれかをクリックすると、ファイルが開きます。
catidそれぞれ、すべてのトピックを= 1、2、または3 で配列する cat1.php、2、および3。トピックを投稿すると、スクリプトは詳細を含む SQL クエリを実行しますが、フィールド catid を選択した値から取得する方法カテゴリー?
catid