hi, I have a php form that has multiples options classified by category, it's a better approach to the user thatfirst he choose the main option inside a select box and after that display just the options related to the choose, something like that:
pizza: cheese, meat, chicken
hotdog: chillie, cheddar
hamburguer: cheese, onions, spicy
I'm really not sure how to do this, but i think that in the form tag in the method I can type php_self but after the user has completed the info I need to store it in a database so I need the post method to call another php file, so my question is:
how can I refresh the form every time the main option is changed and use the post method when the submit is push it?
regards