Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Code error

  1. #1
    New Coder
    Join Date
    Mar 2005
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Code error

    Howdy

    Can you fix some bugs in this code?

    www.loddonexplorers.co.uk/form_mailer.php

    PHP Code:
    <?php 

    $name 
    $_POST['name']; 
    $message $_POST['message;]; 
    $email = $_POST['
    email']; 

    if ($_POST['
    contact'] == 'webmaster') 

    $email_to = '"Webmaster" 
    <webmaster@londonexplorers.co.uk>'; 
    }else{ 
    $email_to = '"Enquiries" 
    <enquries@londonexplorers.co.uk>; 


    mail($email_to$name$message$email,); 

    exit 
    ?>

  • #2
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have responded in the other thread:

    http://www.codingforums.com/showthre...999#post354999

    I will close this one


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •