hi,
how to populate the other fields by executing a query depending on the value selected in the list box.
I have a list box which is getting the values from the database.
For example:
student Id
st01
st02
st03
if the user selected st01 in the list it should populate the the student name and branch in the below two text boxes
Thanks
Samiuddin
how to execute a query depending on the value selected
Moderator: General Moderators
Re: how to execute a query depending on the value selected
This seems to be more of a javascript along with php then just php...i suggest you look into a Jquery plugin...sense its the easiest and most likely someone has already created the code for you...it might need some manipulation though. 
Re: how to execute a query depending on the value selected
Thanks a lot for your response,
I don't know the ajax programming.
Please can you provide me the code
Once again thanks for your response
I don't know the ajax programming.
Please can you provide me the code
Once again thanks for your response
Re: how to execute a query depending on the value selected
You are welcome.
Actually, ajax is not complicated technology.
Just read few tutorials, like this one:
http://www.developertutorials.com/tutor ... query-874/
or this one:
http://articles.sitepoint.com/article/ajax-jquery
Actually, ajax is not complicated technology.
Just read few tutorials, like this one:
http://www.developertutorials.com/tutor ... query-874/
or this one:
http://articles.sitepoint.com/article/ajax-jquery
Re: how to execute a query depending on the value selected
hi, awebtech
Very very Thanks
Very very Thanks