Welcome to the 2010 Knitting Olympics podium!
Please submit your e-mail address to mark your project as completed.
If you didn't include your e-mail when you signed up, contact me at uzziel at gmail dot com.
Your e-mail:
$database='ko2010'; $user='ko2010'; $password='c%AZuKP4NS'; $email = trim($_POST['email']); $conn = mysql_connect(":/var/lib/mysql/mysql.sock", $user, $password); mysql_select_db($database); if (!$email == "" ) { $result = mysql_query("select id from ko2010 where email='$email'"); if (!$result) { die('Invalid query: ' . mysql_error()); } else { $id = mysql_result($result, 0); if ($id) { mysql_query("update ko2010 set finished=TRUE where id=$id"); echo "
You are signed up.
"; echo "
See who else is signed up
"; } else { echo "
You are not signed up.
"; echo "
See who else is signed up
"; } } } mysql_close($conn); ?>