unable to put a link in the 'echo' command
Posted: Tue Aug 09, 2011 12:49 pm
Ive given up trying to figure out why my 'header' function fails to redirect to a new page, so now Im using the 'echo' function. When a user submits a form utilising recaptcha, I get errors.
This works:
echo "Your email was successfully sent.<br /><br />";
This doesnt work:
echo "The security code entered was correct. Click <a href="index.php">here</a> to return to the homepage<br /><br />";
It spits out a server error message. Can someone tell me why?
Thanks.
This works:
echo "Your email was successfully sent.<br /><br />";
This doesnt work:
echo "The security code entered was correct. Click <a href="index.php">here</a> to return to the homepage<br /><br />";
It spits out a server error message. Can someone tell me why?
Thanks.