Making dynamic forms work with my back-end database
===

I'm looking for some advice. I have been given a paper form with various criteria. I need users to be able to select a type of transport (Bus, Train, Taxi, Tram, Other).

Upon the selection, I need more fields to be produced in a form based on the user's choice. So questions about Bus times would be produced if the user selected bus.

The fields will be generated using PHP and MySQL. I have seen some JQuery solutions but I'm a little confused as to what my approach should be.

Can I use JQuery, PHP and MySQL together or can my problem just be achieved using just PHP and MySQL. Please note, the fields will be stored in my MySQL database already, I just them to be generated after the selection from the dropdown menu has been displayed.

No source code sorry everyone as I'm just asking about the approach I should take. I hope I've provided enough detail! 