Hi all,
I'm trying to create a form that will insert into a mysql database.
The code for the php file is below:

PHP Code:
<?

//set database connection parameters
$hostname "127.0.0.1:3307"// database server name
$db_user "testuser"// change to your database password 
$db_password "testpass"// change to your database password 
$database "testdb"// provide your database name 
$db_table "form1"// leave this as is 


//database connection
$db mysql_connect($hostname$db_user$db_password); 
mysql_select_db($database,$db);

//Prepare prerequisites
        
$created time();
        
$ip $_SERVER['REMOTE_ADDR'];
        
$_POST array_map('mysql_real_escape_string',$_POST);

if(isset(
$_REQUEST['submit']))
{
//inserting data order
$sql "INSERT INTO $db_table(EmployeeName,EmployeeRef,WeeksPerYear,MonTownFrom,MonPostcodeFrom,MonTownTo,MonPostcodeTo,MonMiles,TueTownFrom,TuePostcodeFrom,TueTownTo,TuePostcodeTo,TueMiles,WedTownFrom,WedPostcodeFrom,WedTownTo,WedPostcodeTo,WedMiles,ThuTownFrom,ThuPostcodeFrom,ThuTownTo,ThuPostcodeTo,ThuMiles,FriTownFrom,FriPostcodeFrom,FriTownTo,FriPostcodeTo,FriMiles,SatTownFrom,SatPostcodeFrom,SatTownTo,SatPostcodeTo,SatMiles,SunTownFrom,SunPostcodeFrom,SunTownTo,SunPostcodeTo,SunMiles,SumMiles,MonCheck,TueCheck,WedCheck,ThuCheck,FriCheck,SatCheck,SunCheck,MonHours,TueHours,WedHours,ThuHours,FriHours,SatHours,SunHours,SumHours,MonTravel,TueTravel,WedTravel,ThuTravel,FriTravel,SatTravel,SunTravel,MonMealCheck,TueMealCheck,WedMealCheck,ThuMealCheck,FriMealCheck,SatMealCheck,SunMealCheck,MonEveningMealCheck,TueEveningMealCheck,WedEveningMealCheck,ThuEveningMealCheck,FriEveningMealCheck,SatEveningMealCheck,SunEveningMealCheck,MonOvernightCheck,TueOvernightCheck,WedOvernightCheck,ThuOvernightCheck,FriOvernightCheck,SatOvernightCheck,SunOvernightCheck,DeclarationCheck,ip,created) 
            VALUES ('
$_POST['EmployeeName']','$_POST['EmployeeRef']','$_POST['WeeksPerYear']','$_POST['MonTownFrom']','$_POST['MonPostcodeFrom']','$_POST['MonTownTo']','$_POST['MonPostcodeTo']','$_POST['MonMiles']','$_POST['TueTownFrom']','$_POST['TuePostcodeFrom']','$_POST['TueTownTo']','$_POST['TuePostcodeTo']','$_POST['TueMiles']','$_POST['WedTownFrom']','$_POST['WedPostcodeFrom']','$_POST['WedTownTo']','$_POST['WedPostcodeTo']','$_POST['WedMiles']','$_POST['ThuTownFrom']','$_POST['ThuPostcodeFrom']','$_POST['ThuTownTo']','$_POST['ThuPostcodeTo']','$_POST['ThuMiles']','$_POST['FriTownFrom']','$_POST['FriPostcodeFrom']','$_POST['FriTownTo']','$_POST['FriPostcodeTo']','$_POST['FriMiles']','$_POST['SatTownFrom']','$_POST['SatPostcodeFrom']','$_POST['SatTownTo']','$_POST['SatPostcodeTo']','$_POST['SatMiles']','$_POST['SunTownFrom']','$_POST['SunPostcodeFrom']','$_POST['SunTownTo']','$_POST['SunPostcodeTo']','$_POST['SunMiles']','$_POST['SumMiles']','$_POST['MonCheck']','$_POST['TueCheck']','$_POST['WedCheck']','$_POST['ThuCheck']','$_POST['FriCheck']','$_POST['SatCheck']','$_POST['SunCheck']','$_POST['MonHours']','$_POST['TueHours']','$_POST['WedHours']','$_POST['ThuHours']','$_POST['FriHours']','$_POST['SatHours']','$_POST['SunHours']','$_POST['SumHours']','$_POST['MonTravel']','$_POST['TueTravel']','$_POST['WedTravel']','$_POST['ThuTravel']','$_POST['FriTravel']','$_POST['SatTravel']','$_POST['SunTravel']','$_POST['MonMealCheck']','$_POST['TueMealCheck']','$_POST['WedMealCheck']','$_POST['ThuMealCheck']','$_POST['FriMealCheck']','$_POST['SatMealCheck']','$_POST['SunMealCheck']','$_POST['MonEveningMealCheck']','$_POST['TueEveningMealCheck']','$_POST['WedEveningMealCheck']','$_POST['ThuEveningMealCheck']','$_POST['FriEveningMealCheck']','$_POST['SatEveningMealCheck']','$_POST['SunEveningMealCheck']','$_POST['MonOvernightCheck']','$_POST['TueOvernightCheck']','$_POST['WedOvernightCheck']','$_POST['ThuOvernightCheck']','$_POST['FriOvernightCheck']','$_POST['SatOvernightCheck']','$_POST['SunOvernightCheck']','$_POST['DeclarationCheck']','$_POST['ip']','$_POST['created']')";


//declare in the order variable
if($result mysql_query($sql ,$db))
{
    echo = 
"<br>Your Mileage form has been submitted successfully";

else{
    echo = 
"<br>Your Mileage form has not been submitted successfully. Please correct any errors and try again."
    "ERROR: "
.mysql_error();
}
}
?>
My problem is:
When I click submit on the form, the only thing I get is:

Your Mileage form has been submitted successfully"; } else{ echo = "
Your Mileage form has not been submitted successfully. Please correct any errors and try again." "ERROR: ".mysql_error(); } } ?>
Obviously my syntax is wrong somewhere, but I simply can't find where!
I've tried everything and pulling my hair out is next.

I'd appreciate someone giving me a hand with this!

Thanks