[solved] contact form
Posted: Mon Jan 22, 2007 11:55 am
hello, i am new to php and i am trying to create a link to send me back to my homepage using a variable. but i am getting the following parse error.
need some help please.
many thanks.[/quote]
here is the code.Parse error: syntax error, unexpected '?' in /home/.malcsi/moisea66/tyreese.upfrontec.com/mailer.php on line 255
Code: Select all
if(mail($to, $subject, $body))
{
echo "Thanks <b>$name</b>, Your message has been submitted to <b>$to</b>!"; //display the message to say that your message was sent to....
echo "<a href="<?php print $continue; ?>">Click here to continue.</a>";
}
elsemany thanks.[/quote]