Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Contact form help…

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23876
    GreyFox135
    Participant

    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:

    Code:
    “);

    // 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:

    Code:
    print ““;

    The file name is correct and is in the correct directory.

    Here is the FORM HTML:

    Code:

    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

    #52657
    GreyFox135
    Participant

    @ikthius,

    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.

    #52659
    GreyFox135
    Participant

    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:

    Code:
    $EmailTo = “[email protected]”; “[email protected]”;

    ??

    If not, any suggestions?

    #52767
    GreyFox135
    Participant

    Thank you so much!!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.