Fill a combobox with php

wxdqz

New Member
Suppose you have 2 tables in a DB.
Catories with fields ID*, Name
Items with ID, CatID* and Name

During load of page, how to fill a combo/list-box with all rows found in table Categories ?

When it's done, and user want to look at other category, user just select it and 'submit with hidden value' so next reload of page will show all items for selected categori.
 
Back
Top