How do I set say Product details to the HTML controls from Db when I select the dropdownlist having product ID?
You can try to set your form to go to a page like this
<form action="http://www.yoursite.com/getproductdetails.php"
Then call your drop downbox name="prodid"
When you click submit now the url will be http://www.yoursite.com/getproductdetails.php?prodid=6
Now in getproductdetails you select the things you need from the db and echo them
Is that not possible in same form, I have currently fetched values from DB but unable to set it to the controls in the same form....
Originally posted by priya_amb Is that not possible in same form, I have currently fetched values from DB but unable to set it to the controls in the same form....
You mean you dont see your products in the selectbox?
Thanks...
I jus cud select items in DDL and displsy them in the html controls. This issue is resolved. I have yet another problem relevant to this in my other post "selecting dropdownlist".