"Cam-Ful Industries Career Center Login Page", "top" => "", "bottom" => " Send questions and comments to admin@cam-ful.com ", ); $elements_1 = array( "top" => "Returning User: Login here", "bottom" => "", "submit" => "Login" ); $elements_2 = array("top" => "New Users: Register here and use a unique user name and password", "bottom" => "", "submit" => "Register" ); $fields_1 = array("fusername" => "User Name", "fpassword" => "Password" ); $length_1 = array("fusername" => "10", "fpassword" => "10" ); $types_1 = array("fusername" => "text", "fpassword" => "password" ); $fields_2 = array("user_name" => "User Name", "password" => "Password", "email" => "Email Address", "address" => "Address", "city" => "City", "state" => "State", "zip" => "Zip", "contact_name" => "Contact Name", "contact_phone" => "Phone Number", "fax" => "Fax Number" ); $types_2 = array("user_name" => "text", "password" => "password", "email" => "text", "address" => "text", "city" => "text", "state" => "text", "zip" => "text", "contact_name" => "text", "contact_phone" => "text", "fax" => "text", "dept_id" => "select" ); $length_2 = array("user_name" => "20", "password" => "8", "email" => "55", "address" => "40", "city" => "40", "state" => "20", "zip" => "10", "contact_name" => "40", "contact_phone" => "12", "fax" => "12", ); $options = array(); $connection = Connect_to_db("Vars.inc"); $results = mysqli_query($connection, "SELECT dept_id, name FROM Department ORDER BY name"); while($row = mysqli_fetch_assoc($results)) { $options['dept_id'][$row['dept_id']] = $row['name']; } ?>