Quiz File Name: (optional)
Quiz Title:
Number of Personality Types:
Number of Questions:
Password:
ERROR: Incorrect Password

"; die(); } if(empty($name)) { $name = time(); } $name = stripslashes($name); $title = stripslashes($title); settype($types, 'integer'); settype($questions, 'integer'); if(($types == 0) || ($questions == 0) || (empty($title))) { echo "
ERROR: Please fill in all fields properly

"; die(); } // Change to all lower case $name = strtolower($name); // Replace all spaces with dashes $name=str_replace(" ", "-", $name); // If the name has more than 10 characters, truncate it. if(strlen($name2) > 10) { $name = substr($name,0,10); } ?>
Personality Types:
Input the description of each personality type here that will be shown to the user. Generally, it will start with "You are a...". You may use HTML code. \n"; } ?>
$pnum:

Question $qnum: "; ?> \n"; } ?>
Answer for type $pnum:

"; echo ""; echo ""; echo ""; echo ""; ?>