php/mysql, drop down menus and changing variables
Posted: Thu Mar 16, 2006 12:28 pm
I'm still a beginner when it comes to php/mysql, but I need to make a script that will help me with something on my site.
I have these fields: id, name, info, website
I need a drop down menu that lists all the names. And I sort of know how to do that, but it's the next step where I get totally lost.
I have these different print functions for name, info and website that will show up on the page after you submit it, and I need those variables to change to correspond to the unique id of the name selected. So, if I select "Bob the Monkey" the three different print functions will all change his name, his info and his website.
Does anyone know where I could find some helpful tutorials or who could explain how to do this? (The drop down menu, the changing variable in three places with the menu, and all of that showing up with the print function?)
Thanks for your time.
I have these fields: id, name, info, website
I need a drop down menu that lists all the names. And I sort of know how to do that, but it's the next step where I get totally lost.
I have these different print functions for name, info and website that will show up on the page after you submit it, and I need those variables to change to correspond to the unique id of the name selected. So, if I select "Bob the Monkey" the three different print functions will all change his name, his info and his website.
Does anyone know where I could find some helpful tutorials or who could explain how to do this? (The drop down menu, the changing variable in three places with the menu, and all of that showing up with the print function?)
Thanks for your time.