The detail tutorial on how to start with Ajax or how it works along with PHP is not explained here. This demo script you can download the sample code along with table structures – data at the end of this file in zip format.
You can see the demo here and check the other related articles on this related drop down list at the end of this page.
We have used one server side script written in PHP. You can see the code of this file in your zip file
after selecting item from combobox i.e category, population of data in second combobox is not working. im getting empty small box.
any help would be appreciated.
I'm not using 2 option, but 1 option and 1 textarea, need editing on dd.php and main.php. Work well
I've struggled to integrate this into my website for days - - can someone help me? I believe this works, but just can't get it through my thick skull... Thanks for everything!
Thank you for your script. I got it to work but is it possible for the second select option to return both the name and an id from the mysql table ?
For example to return information like this ? Thank you in advance for your help.
Yes , we can use like that and many time we use option and string different data. For that in your sql you can collect both columns and format accordingly. For example we can display student name but keep student ID in option value.