Jump to content

Recommended Posts

Hi guys, i have to create a drop-down menu for database data,  when i select one data  from that then next drop-down menu has to create automatically with related data of  the 1st selection.

could anyone please give me some help to do this?

 

NB: i have 3 tables student(sid, sname), course (cid, cname) , take (sid, cid) so if i select one of the cid then another drop down list  has to create automatically with sid who is taking the cid .

Yeah this is usually done with some kind of AJAX interface now a days.  We used to just do a call back to the form after a 'onChange' to reload the whole page with the form and new sub-select values.

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.