if/else statement based on selection of select box
Permalink Browser Info Environment
Hi all,
I am trying to make some additions to the 'table' template. I am trying to add a select box to the form.php which would contain two options and in the view.php I am trying to have an if/else statement render a the specific html based on the selection of the previously mentioned select box.
I just can't seem to make this happen. I am new to PHP so if anyone can take the time to point me in the right direction it would be greatly appreciated.
I am trying to make some additions to the 'table' template. I am trying to add a select box to the form.php which would contain two options and in the view.php I am trying to have an if/else statement render a the specific html based on the selection of the previously mentioned select box.
I just can't seem to make this happen. I am new to PHP so if anyone can take the time to point me in the right direction it would be greatly appreciated.
Type: | Discussion |
---|---|
Status: | New |