trying to build a mail.php

I am a noob to PHP and i have ready pleanty of sites telling me how to make one, they work fine till i start to change it, customizing it to the form i have built…i hit submit and just get a white screen
here is the mail.php

<?php $Your_name =$_REQUEST['Your_name'] ; $Telephone_Number =$_REQUEST['Telephone_Number'] ; $Year_Of_Maunfacture_(YYYY) = $_REQUEST['Year Of Maunfacture (YYYY)'] ; $Make = $_REQUEST['Make'] ; $Model = $_REQUEST['Model'] ; $Email_Address = $_REQUEST['Email Address'] ; $Additional_Information = $_request['Additional Infromation'] ; $message = "Name: " . $Your_name . " Phone number: " . $Telephone_Number . " Email: " . $Email_Address . " Year: " . $Year_Of_Maunfacture . " Make: " . $Make . " Model " . $Model . " Additional Information " . $Additional_Information; mail( "[email protected]", "HotClear Quote", $message, "From: $Email" ); header( "Location: http://www.hotwraps.ca" ); ?>

and the form

body { background: url("images/bg.jpg") } Hotclear Estimate Request <



Select kit:

		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Your name:</strong>
		</td>
		<td valign="top">
			<input type="text" name="name" id="name" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Telephone Number:</strong>
		</td>
		<td valign="top">
			<input type="text" name="field-66b77826a3d89b1" id="field-66b77826a3d89b1" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Year Of Manufacture (YYYY):</strong>
		</td>
		<td valign="top">
			<input type="text" name="field-a542f6ccd3b5da1" id="field-a542f6ccd3b5da1" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Make:</strong>
		</td>
		<td valign="top">
			<input type="text" name="field-bd281f04085c37d" id="field-bd281f04085c37d" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Model:</strong>
		</td>
		<td valign="top">
			<input type="text" name="field-aa27c55f62be0aa" id="field-aa27c55f62be0aa" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Email Address:</strong>
		</td>
		<td valign="top">
			<input type="text" name="email" id="email" size="40" value="" />
			
		</td>
	</tr>
	<tr>
		<td valign="top">
			<strong>Additional Information:</strong>
		</td>
		<td valign="top">
			<textarea name="field-081ec85eac3df7a" id="field-081ec85eac3df7a" rows="6" cols="40"></textarea>
			
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<input type="submit" value=" Submit Form " />
		</td>
	</tr>
</table>

i made the changes that i have been told to make and it doesn’t work at all
i know it’s something stupid that i missed
please someone help me out

in your form, you have input “Your name:” as “name”

      <tr>
         <td valign="top">
            <strong>Your name:</strong>
         </td>
         <td valign="top">
            <input type="text" name="name" id="name" size="40" value="" />
            
         </td>

However, in php, you are requesting “Your_name”. So its always going to be blank, as there is no such input. I am sure thats the case with all other input values.

Sponsor our Newsletter | Privacy Policy | Terms of Service