error . “)”);
}
else
{
// Your code here to handle a successful verification

}
}
// Insert form data into table
$con = mysql_connect(“localhost”,”clucampa_CLU”,”caseypie4236″);
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}

mysql_select_db(“clucampa_CB”, $con);

$sql=”INSERT INTO todo (category,type,tName,tDates,tTimes,cost,url,userName, notes)
VALUES
(‘$_POST[category]’,’$_POST[type]’,’$_POST[tname]’,’$_POST[tdate]’,’$_POST[ttime]’,’$_POST[cost]’,’$_POST[url]’,’$_POST[username]’,’$_POST[note]’)”;

if (!mysql_query($sql,$con))
{
die(‘Error: ‘ . mysql_error());
}
mysql_close($con);

}
?>

Activity Location:
Activity Type:
Your Name:
Activity Name:
(The name of location or description of an activity)
Website:
(example= http://www.site.com )
Your website link needs to be complete in order to work- including http://
Date:
(Any specific days of the week, or dates this activity/location is open/available)
Time:
(Hours of operation)
Cost:
(Price of admission/tickets)
Note:
click on the question to reload
+=Add, -=Subtract, *=Multiply
Click to reload image

Return to Activity Search

Your activity has been submitted.

Thank you!

“;
echo “
Return to Activity Search“;
}
?>