Does anyone have any idea why this code is not inserting anything?
<?php
//Get Values from form
$customername = $_POST['customername'];
$cnn = $_POST['cnn'];
//Connect to database server and select database
mysql_connect("xxxx", "xxxx", "xxxx") or die("Cannot login to database server!<br>");
mysql_select_db("xxxx") or die("Cannot find database!<br>");
//Insert data from form
mysql_query ("INSERT INTO returns (name, cnn) VALUES ('$customername', '$cnn')");
?>
Thanks, Stuart