0

<!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>

Edited by lulemurfan: delete please

1
Contributor
2
Replies
3
Views
7 Years
Discussion Span
Last Post by lulemurfan
0

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?

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.