How separate search results by category? MySQL + PHP

Ammasinni

New Member
Hi!I didn't get any code that worked. Of course I could have use then wrongly because I'm a beginner. Some told me to use MySQL subqueries other told me to use PHP foreach achieve it.What I want is to show the search results of a keyword separated by groups of categories, something like that:\[quote\]Search results for Item, 3 itens in 2 categories: Category 1:[*]Item 1[*]Item 10Category 2:
  • Item 1003
\[/quote\]Can someone explain me it as simple as possible.
Thanks n advance!
 
Back
Top