noob first time programmer here, Think i've made a mistake here somewhere but can't spot it! Really appreciate any help i get!
Code:
if (isset($_POST['submit'])){
$name=mysql_real_escape_string($_POST['name']);
$email=mysql_real_escape_string($_POST['email']);
$ClanTag=mysql_real_escape_string($_POST['ClanTag']);
$LicenseCount=mysql_real_escape_string($_POST['LicenseCount']);
$BillDate=mysql_real_escape_string($_POST['BillDate']);
mysql_query("INSERT INTO Customers (Name, Email, Clan_Tag, License_Count, Bill_Date)
VALUES ('$name', '$email', '$ClanTag', '$LicenseCount', '$BillDate')");
?>
<p> Entry successful! <p/>
<head>
<meta http-equiv="refresh" content="1;url=input.php">
</head>
<?php
}
else{ ..................