here is all the code! You don't have to do this though. Thanks
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<head>
<title>Untitled</title>
</head>
<body>
<? include ('dbConnect.php');
if ($FirstName and $LastName and $email)
{
//mysql_connect() or die ("Problem connecting to DataBase");
$query="select * from cookie where FirstName='$FirstName' and
LastName='$LastName' and email='$email'";
$result = mysql_db_query($db, $query);
$r=mysql_fetch_array($result);
$count=$r["count"];
if (isset($count)) {
$CookieString=$FirstName.'&'.$LastName.'&'.$email.'&'.$count;
SetCookie ("Example",$CookieString, time()+3600);
echo "<p>user $FirstName $LastName already exists. Using the existing
info.</p>";
echo "<p><a href=\"index.php3\">Back to Main Page</a>";
} else {
$count = '1';
$query = "insert into cookie values
('$FirstName','$LastName','$email','$count')";
$result = mysql_db_query($db, $query);
$CookieString=$FirstName.'&'.$LastName.'&'.$email.'&'.$count;
SetCookie ("Example",$CookieString, time()+3600);
echo "Thank you for registering.<br>";
}
}
else { echo "Sorry, some information is missing. Please go back and add all
the information"; }
?>
</body>