rendered paste body// Problem - All of the address isn't working with the $addressline1, etc variables when form is filled and sent
############################################################################################# HTML ################
<p>Address Line 1: <input name="addressline1" type="text" id="addressline1" />*</p>
<p>Address Line 2: <input name="addressline2" type="text" id="addressline2" /></p>
<p>County: <input name="addresscounty" type="text" id="addresscounty" />*</p>
<p>Town: <input name="addresstown" type="text" id="addresstown" />*</p>
<p>Post Code: <input name="addresspostcode" type="text" id="addresspostcode" />*</p>
<p>Telephone: <input name="telephone" type="text" id="telephone" />*</p>
############################################################################################# PHP #################
$telephone = $_POST["telephone"];
// Address:
$addressline1 = $_POST["addressline1"];
$addressline2 = $_POST["addressline2"];
$addresstown = $_POST["addresstown"];
$addresscounty = $_POST["addresscounty"];
$addresspostcode = $_POST["addresspostcode"];
... ...
if($username==NULL|$password==NULL|$cpassword==NULL|$name==NULL|$email==NULL|$telephone==NULL|$addressline1==NULL|$addresstown==NULL|$addresscounty==NULL|$addresspostcode==NULL){
$error = "You didn't fill in all of the fields.";
echo 7;
echo $addressline1;
echo 8;
echo $addresstown;
echo 9;
echo $addresscounty;
echo 10;
echo $addresspostcode;