I still need some help with PHP and frontpage New to this PHP

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
 
C

Chris Leeds, MVP-FrontPage

yes, you can mix it together like you show below, but for the actual logic
you'll have to look at some php tutorials to see what to do. it's that or
retain someone to do it for you. you'll have to explain to them exactly
what you want and they'll just do it for you.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top