-3

i am newbie in php ..i want to create dependent dropdown list from mysql database and want to pass those selected field in to another form .How to do that ?please give me an example with brief description.Every help is much appreciated ...

Mahin
  • 1
  • 1
  • 3
    SO is not here to code for you, do some research and have a go yourself, then SO can help with any problems you experience. – Enstage May 16 '17 at 05:56

1 Answers1

0

Anyway, I am not providing you deatils code. (This question example are all around the web, if you little google it you will get it). Althoug, if you do not know how you should implement those. I just going you give idea:

I suggest you look into AJAX - which will allow you to update sections of your form based upon changes to other sections.

AJAX calls are in javaScript -> which calls a .php file -> with the appropriate code (like the value from a changed dropdown selection).

Shajibur Rahman
  • 436
  • 3
  • 12
  • If you like video turoail can check here-> https://www.youtube.com/watch?v=0dn8PGBi5PQ (There are many search youtube) Complete tutorial -. https://www.codexworld.com/dynamic-dependent-select-box-using-jquery-ajax-php/ learn, then you will know how to implement – Shajibur Rahman May 16 '17 at 06:10
  • i already write a code for jquery where i can get the selected value from combobox but unable to pass those value from one form to another ..here is my code – Mahin May 16 '17 at 08:17