Komplette Artikelliste einer Rubrik

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Mini
Posts: 63
Joined: Mon May 08, 2006 11:11 pm

Post by Mini »

Hi,

wie ist denn der aktuelle Status?

Gruß

Mini
Thorsten
Posts: 15723
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich hab die Mail nicht gefunden.... sorry.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Mini
Posts: 63
Joined: Mon May 08, 2006 11:11 pm

Post by Mini »

Kannst Du mir trotzdem helfen? Ich bin kein SQL-Profi!
Thorsten
Posts: 15723
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

so bekommst du alle Einträge der Kategorie 1:

Code: Select all

SELECT faqcategoryrelations.category_id AS cateory_id, faqdata.id AS id, faqdata.thema AS thema
FROM faqdata
INNER JOIN faqcategoryrelations ON faqdata.id = faqcategoryrelations.record_id
AND faqdata.lang = faqcategoryrelations.category_lang
WHERE faqcategoryrelations.category_id = 1
ORDER BY faqcategoryrelations.category_id, faqdata.id
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply