i'm not sure if this can be realized only with php, this might take a little javascript but oh well i think this belongs under the php forum
I have a dropdown with a list of items. These items are comming from a table in my database.
Just right under the dropdown there is a iframe where the users can fill in a form, and when sent it will add a new item to the dropdown (by adding an entry in the same table where the dropdown is taking the items from)
So far everything is good, but the only problem is that the dropdown isnt automatically refreshed when new items are added (when the form is sent). So the users usually end up thinking it didn't work and their item wasn't added.
After the users have added an item, they MUST refresh the page with the form where the dropdown is in, thus losing all datas they entered in the other steps of the form
How could i auto-refresh that dropdown so my users don't have to refresh the page after adding a new element?
thanks a lot