hi guys.. great forum here 🙂
i have managed to pull togehter anough resources to get an online mysql - php site up and running
i am running into trouble this way:
i need to pull data from 2 fields in one table, but first go to another table and look to see if data is there...
if so display contents of that filed as 'selected' in form drop down select box
so we have somehting like this
db table widget1 field w1 and w2
db table widget2 filed p1
then we have a form - on this form we have a select box populated with the contents of widget1 fields w1 (value) w2 which holds the name of the value
in this select box - we first go to table widget2 and look in field p1 and show this value as selected if it exists...
i have tried for hours today and strike out...
suggestions would be greatly appreciated
many thanks
erv