'', 1 => '', 2 => '', 3 => '', 4 => '', 5 => '', 6 => '', 7 => '' ); $doctype = $_POST['doctype']; if (isset($doctype)) { if ($doctype == 0) { echo htmlentities($doc_type['0']);} if ($doctype == 1) { echo htmlentities($doc_type['1']);} if ($doctype == 2) { echo htmlentities($doc_type['2']);} if ($doctype == 3) { echo htmlentities($doc_type['3']);} if ($doctype == 4) { echo htmlentities($doc_type['4']);} if ($doctype == 5) { echo htmlentities($doc_type['5']);} if ($doctype == 6) { echo htmlentities($doc_type['6']);} if ($doctype == 7) { echo htmlentities($doc_type['7']);} if ($doctype == 8) { echo htmlentities($doc_type['8']);} } ?>