F
Frank H. Shaw
I will try to explain in more detail what I am trying to do:
The PHP structure below can it contain only PHP code or can you put both PHP
and HTML - The PHP code that needs to go in the structure needs to be some
type of logic statement like a IF ELSE statement depneding on the radiobutton
selected what would the IF ELSE statement look like captureing the results
from the radio button.
Question 1 - Can I intermix the PHP code and HTML code like below??
?PHP
IF (based on some exprison depending on which radiobutton is selected)
ENDIF
?>
Question 2 Is what does the (based on some exprison depending on which
radiobutton is selected) look like I need a little example on how to tell
which radiobutton is selected.
below is my radiobutton HTML code which would come well before the PHP code
above:
Was this
The PHP structure below can it contain only PHP code or can you put both PHP
and HTML - The PHP code that needs to go in the structure needs to be some
type of logic statement like a IF ELSE statement depneding on the radiobutton
selected what would the IF ELSE statement look like captureing the results
from the radio button.
Question 1 - Can I intermix the PHP code and HTML code like below??
?PHP
IF (based on some exprison depending on which radiobutton is selected)
ELSE
ENDIF
?>
Question 2 Is what does the (based on some exprison depending on which
radiobutton is selected) look like I need a little example on how to tell
which radiobutton is selected.
below is my radiobutton HTML code which would come well before the PHP code
above:
Was this