Simple help needed with forms, they are sending to my email but are blank or lacking

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Denn1s
    Registered User
    • May 2008
    • 63

    #1

    Simple help needed with forms, they are sending to my email but are blank or lacking

    everytime someone submits their info it sends to my email but it usually leaves everything out, sometimes it's blank

    sometimes there is a
    Code:
    <br>
    in there

    i'm sure it's something little


    here is the submit.php

    Code:
    <?
    $name= $_POST['name'];
    $phone = $_POST['phone'];
    $msg = $_POST['msg'];
    $msg5 = "PHONE: $phone<br>$msg";
    mail("[email protected]", "Website Inquiry", $msg5, $email);
    
    ?>
    here is the code...

    Code:
    <form method="POST" action="submit.php">
    Code:
          	<td class="label">Name<sup class="req">*</sup></td>
                   	  <td><input type="text" name="name" class="txtField" title="Enter Your Full Name" /></td>
                    </tr>
                    <tr>
                    	 <td class="label">Phone Number</td><td><input type="text" name="phone" class="txtField" title="Enter Your Phone Number" /></td>
                    </tr>
                   
                    <tr>
                    	<td class="label">Mobile Number </td><td><input type="text" name="mobile" class="txtField" title="Enter Your Mobile Number" /></td>
                    </tr>
                    <tr>
                    	<td class="label">Email Address<sup class="req">*</sup></td><td><input type="text" name="email" class="txtField" title="Enter Your Email Address" /></td>
                    </tr>
                    <tr>
                    	<td class="label">Message<sup class="req">*</sup></td><td><textarea cols="30" rows="6" name="message"></textarea></td>
                    </tr>
                    <tr>
                    	<td class="label">*required</td><td><input type="submit" value="Submit" name="B1"></td>
                   </tr>
                   </table>
                
    </form>

    thanks alot gfy
    Last edited by Denn1s; 06-02-2008, 08:13 PM.
    skype: dennuhs
    aim: dennisthemenace
Working...