Originally posted by SatuPortal.com
What i mean is if i select stock id from drop down list (i use <select><option>123</option></select>) so the description will be automatically shows up.
If php can't do this, how to make this happen on php ?
Sorry with my bad english😉
PHP can do this, but you will need to have some client side script (like javascript) to react to the change in the drop down list.
For instance, with plain html, when you change the selection in a drop down list in a form, nothing happens. You need to trap the change with some javascript that then invokes a change in the displayed data with your php script.
Sorry I don't have any code, but hope it points you in the right direction.
Regards,
Mike