Results 1 to 5 of 5
Feb 10, 2004, 15:16 #1
- Join Date
- Mar 2003
- Western, PA - USA
- 0 Post(s)
- 0 Thread(s)
Help me with some PHP - mySQL code please!!!!
I am trying to create a menu page that displays information stored in a mySQL db. Its a list of names, addresses, etc. One of the fields in my table is 'Position' and I'd like to create a form on my menu page so that I can select a position from a drop down and only show the records that match that position.
Problem is, the values stored in the Position column are not predefined. So I am thinking I need to somehow query the db to return a list of values used in the table, then make an array with those values, and populate a drop down form field with those values as options.
Am I doing this the hard way? How can I do this?