PHP Grouping Results
PHP Grouping Results
Out of context: Reply #3
- Started
- Last post
- 8 Responses
- hyt0
SELECT i.tem, c.category FROM item AS i, cat AS c WHERE i.cat_ID = $categoryID AND c.ID = $categoryID
$categoryID needs to come from somewhere though...
(Also the above is probably somewhat convoluted but I'm tired...)