Jump to content

php with ajax and mysql, fetching records


Pawan_Agarwal

Recommended Posts

Hello, I am working on piece of code and now I am figuring out a way to complete it.

 

I am merging ajax+PHP+ MySQL, what I am trying to do is fetch data using ajax on same page and data will be shared between 3 <select> tags

 

In first <select> tag, I have listed All the "managers" working in company, when I click on any "manager" name, second <select> must show the "assistant manager" , after clicking on "assistant manager" <select>, it must show "team leaders" name in 3rd <select>, and after clicking on "team leader name" <select>, all the staff must display on the 4th <select>.  I am able to fetch the records of manager and "assistant manager", but I am unable to proceed further. Can anyone help me ???

 

I have attached the sample view of the code that I am trying to complete, have a look and let me know the solution, you may also email it on [email protected] do have a look on attachment........

code.html

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.