Jump to content

Populating drop down and table


skulk

Recommended Posts

I have a database with the following fields.

Name | Company | Date

 

values in each column could be repeated, or not. as in there could be several same names with the same company with different dates, or different names with same company.

 

How do I populate a table with this info and have drop down boxes, so that I can narrow down the search? For example:

Name | Company | Date

12    | 1          | 1929

13    | 1          | 1929

14    | 1          | 1929

12    | 2          | 1929

12    | 4          | 1929

13    | 1          | 1941

12    | 6          | 1929

 

 

So if in the drop down I select '12' under name, only those entries with 12 are shown, and then I can further sort it by selecting only '1' under Company.

Hope I'm clear, I manage to complicate things when I post them

Link to comment
https://forums.phpfreaks.com/topic/62603-populating-drop-down-and-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.