MySQL Forums
Forum List  »  PHP

Re: Problem with populating Dropdown Menu with PDO
Posted by: Frank Olschewski
Date: December 10, 2015 05:39PM

Thank you Sir!

One more question concerning the functioning of the dropdowns:
It works now, but is it also possible to make in more dynamic?

If the form goes like this:

"How many students need to be coached?"
<dropdown menu with "1" or "2"> -> he/she selects "2"

-> The client is asked:

"Which subjects should be teached for student 1?"
<dropdowns>

"On which level is student 1?"
<dropdowns>

-> And because he/she selected "2" another time also ask for student 2:

"Which subjects should be teached for student 2?"
<dropdowns>

"On which level is student 2?"
<dropdowns>


Is it possible to achieve this with PHP and PDO? I have read something about AJAX and Javascript which are needed for this - I am not sure where to start here and if it is necessary or even possible to achieve dynamic dropdown or not.

Best regards,

Frank

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.