|
|||
|
Ich wollte eine neue, zweite Categorie-Box anlegen. Ich wollte das so lösen:
Abfrage 1 habe ich so ergänzt (blau): $categories_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_status = '1' and c.categories_id > '50' and c.parent_id = '0' ".$group_check." and c.categories_id = cd.categories_id and cd.language_id='" . (int)$_SESSION['languages_id'] ."' order by sort_order, cd.categories_name"; Abfrage 2 habe ich so ergänzt (blau): $categories_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_status = '1' and c.categories_id > '50' and c.parent_id = '" . $value . "' ".$group_check." and c.categories_id = cd.categories_id and cd.language_id='" . $_SESSION['languages_id'] ."' order by sort_order, cd.categories_name"; Ist der Ansatz eigentlich richtig und wenn ja: Wo liegt der Fehler ? |
![]() |
| Lesezeichen |
| Stichworte |
| anlegen, categoriebox, zweite |
| Themen-Optionen | |
| Ansicht | |
|
|