Jump to content

Recommended Posts

Help, i've got a problem ,I’ve made a drop down list populated from af mysql database

What I want to do is that when you click on one of the values from the drop down list which get populated by $problem it shows a new field below the drop down list with the function rating_bar ($_GET['id'],6);

So depending on what the user picks from $problem the function rating_bar ($_GET['id'],6); will change.

 

 

Link to comment
https://forums.phpfreaks.com/topic/200485-help-drop-down-list/
Share on other sites

Basic javascript can also run off an onClick or onChange function of a form item, and I think *not certain here so someone will need to yay or nay this* that you can nest a php include within a java function. Try a search on  "Java onChange" and see what you get.

Link to comment
https://forums.phpfreaks.com/topic/200485-help-drop-down-list/#findComment-1052382
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.