- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I recently went through Chris’ form tutorial. I’ve got it to validate and I’ve got the style that I want. However, I can’t seem to get the PHP to give the form functionality.
Here’s the PHP:
// redirect to success page
// CHANGE THE URL BELOW TO YOUR “THANK YOU” PAGE
if ($success){
print ““;
}
else{
print ““;
}
?>
When I try the form, I get this error: "Parse error: syntax error, unexpected T_STRING in /home/content/f/a/u/faulkventures/html/contactengine.php on line 35"
Line 35 is this part of the PHP:
The file name is correct and is in the correct directory.
Here is the FORM HTML:
I am new to web design and this is my first attempt at a contact form. Any help would be greatly appriciated!
Thanks!
PS. Here is the site I’m working on: http://faulknerventures.com/contact
Awesome!! Thank you very much. This has made my day.
I know about the field errors; thanks for catching that :D
PHP is quite impressive.
On an other note:
If I wanted to have the form e-mail 2 different address could I just add the second address like this:
??
If not, any suggestions?
Thank you so much!!