Hello Experts,
Thank you for your time,
Im really stuck here, What im after is a PHP drop down box which is populated from my MYSQL database. this database could consist of the following.
Asda
Tesco
Morrisons
Sainsburys
etc etc
The drop down needs to "select * from company" and place it into the drop down menu to be selected.
a button is then clicked which posts the selected STORE into the next page where it is SEARCHED for in the database and the STORE details are then listed inside a new page.
The Store details would be located in another table for example.
Company_address
Asda 13 Leeds court
Tesco blah blah
You get the picture... based on the entry selected the following store address must be returned.. and none of the others..
Is this possible??
Many thanks
All input is appricated.
James
Open in new window
Then to get the selected info from the db you could do something like this using the selected value from the URL parameter in the companyInfo.php page like this:
Open in new window