<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Edit</title>
</head>
<body>
<?php $con = mysql_connect("************");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("**************", $con);
$1 = ($_POST);
$2 = ($_POST);
$3 = ($_POST);
$4 = ($_POST);
$5 = ($_POST);
$6 = ($_POST);
$7 = ($_POST);
$8 = ($_POST);
$9 = ($_POST);
$10 = ($_POST);
$11 = ($_POST);
$12 = ($_POST);
$13 = ($_POST);
$14 = ($_POST);
$sql = "INSERT INTO standings (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14) VALUES ('$1','$2','$3','$4','$5','$6','$7','$8','$9','$10','$11','$12','$13','$14')";
mysql_close($con);
?>
<br>
<br>
<br>
<br>
Please wait while we transfer you back to the home page
</body>
</html>

Sorry about this, I thought I pressed preview not submit and now I can't change it. My code doesn't seem to be working can anyone help me please?

I found out my problem. You can't set a varible in php to a number only

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.