0

Select branch by default

It's a school form page where branch Id is in drop down menu. Tell me in details I'm stater. Remove branch drop-down from every form and make an hidden input field and echo the value $_SESSION['branch_id'] to that hidden field having same name attribute value as that of Dropdown.

14th May 2019, 1:26 AM
Annu Stark
Annu Stark - avatar
1 Antwort
+ 3
"Remove branch dropdown from every form and make a hidden input field and echo the value $_SESSION['branch_id'] to that hidden field having same name attribute value as that of dropdown." I'm sorry, but I don't understand how can the hidden input value be the same as that of the dropdown when you said you wanted to remove the branch dropdown from every form?
17th May 2019, 9:48 AM
Ipang