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 pawan2angel@gmail.com....please do have a look on attachment........

code.html

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.