query results and loop them into a table by catagory : I'm trying to query my products table;

    +-------------------+--------------+------+-----+---------+----------------+
    | Field             | Type         | Null | Key | Default | Extra          |
    +-------------------+--------------+------+-----+---------+----------------+
    | id                | int(11)      | NO   | PRI | NULL    | auto_increment |
    | name              | varchar(50)  | NO   |     | NULL    |                |
    | make              | varchar(50)  | NO   |     | NULL    |                |
    | email             | varchar(200) | NO   |     | NULL    |                |
    | catagory          | longtext     | NO   |     | NULL    |                |
    +-------------------+--------------+------+-----+---------+----------------+

i want to query the database and echo the results in a table like so, i want it to echo the catagory name then echo all the <td></td> which will contain the name, make and some other details etc..


I want to show it like so;

    Catagory:
    name       name       name       name
    -------------------------------------
    Catagory:
    name       name       name       name
    -------------------------------------
    Catagory:
    name       name       name       name
    -------------------------------------
    Catagory:
    name       name       name       name
    -------------------------------------

where each name is a different product in the product table. Not sure where too look and what to search for.