Help with Parse error
| From: | Michelle Whelan | Date: | Thu, 13 Mar 2003 21:03:20 +0000 |
| Subject: | Help with Parse error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26357@lists.php.net to get a copy of this message | ||
Does someone know why I am getting this error? $Yards = $_POST["needdirtype"] is line 45
Parse error: parse error in /havedirt2.php on line 45
$DirtType = $_POST["needdirtype"]
$Yards = $_POST["noyards"]
$Contact = $_POST["contactname"]
$Area = $_POST["areacode"]
$Prefix = $_POST["prefix"]
$Suffix = $_POST["suffix"]
$Zip = $_POST["zipcode"]
$Expdate = $_POST["expdate"]
$Email = $_POST["email"]
$Jcity = $_POST["jobcity"]
$XStreets = $_POST["xstreets"]
$query = "INSERT INTO $table (needdirtype, noyards, contactname, areacode, prefix, suffix,
zipcode, expdate, email, jobcity, xstreets)
VALUES('$DirtType','$Yards','$Contact','$Area','$Prefix','$Suffix','$Zip','$Expdate',
'$Email','$Jcity','$XStreets')";
$result = mysql_query($query);