What is the syntax for printing large chunks of HTML inside a PHP if string, or can't it be done.
I want to print a different Paypal Button depending on a user's input from the radio buttons
I.E.
if ($size == "small")
{
print (<form action"www.paypal.com/webscr" method="post"><img src="about another ten lines of html tags">)
}
I have tried everything: echo with brackets only outside the HTML, print with ' single quotation marks outside the Html tags ' "Double Html tags outside the html and (" brackets and quotatiuons both sides oif the HTML.
Error message says that the first "<" is unexpected it was expecting ";" or ","
I know you can print HTML inside a php print line, so where am I going wrong.