Welcome to Datakeeper v. 1.0!
if($grade=="Freshman")
{$numgrade=9;}
if ($grade=="Sophomore")
{$numgrade=10;}
if ($grade=="Junior")
{$numgrade=11;}
if ($grade=="Senior")
{$numgrade=12;}
$db = mysql_connect("mysql.tjhsst.edu", "lstrickm", "kya009");
mysql_select_db("lstrickm", $db);
mysql_query("insert into dk1 (name, phone, grade, user, password, email, address, language) values ('$name','$phone','$numgrade', '$user', '$password', '$email', '$address', '$language')", $db);
echo "Your information has been entered.\n";
} else{
?>
Datakeeper stores your information in order to fill out forms for you. Please
input the following information. You do not need to fill it all out now; you will be able to edit your input later. Your username and password will be used to access your data later; type them carefully.
Return to Test Programs