$name3 = ""; $name4 = ""; $name5 = "Logout"; $name6 = "logout.php"; } if (!empty($_POST['register'])) { $cdetails = array(); $cdetails[0] = $_SESSION['login']; $cdetails[1] = $_POST['jobid']; $cdetails[2] = $_POST['post']; $cdetails[3] = $_POST['startdate']; $cdetails[4] = $_POST['duration']; $cdetails[5] = $_POST['stipend']; $cdetails[6] = $_POST['postedon']; $cdetails[7] = $_POST['applicationdeadline']; $control->jobcreation($cdetails); } ?> <html> <head> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="css/Formstyle.css" /> </head> <body> <div id="main"> <div id="header"> <div id="welcome"> </div><!--end welcome--> <div id="menubar">