public function newEntry() { if ($_SERVER['REQUEST_METHOD'] == 'POST') { hosting::INSERT($_POST['name'], $_POST['adminPanelLink'], $_POST['login'], $_POST['password'], $_POST['emailID'], $_POST['ip'], $_POST['phpMyAdminLink'], $_POST['NS1'], $_POST['NS2'], $_POST['NS3'], $_POST['NS4']); //header("Location: /hosting/view/$id"); } else { hostingController::loadView('_form', $args = array()); } }