require "SectionCategorieModel.php"; $SectionM = new SectionModel(); $CategorieM = new CategorieModel(); $sectionCategorieM = new SectionCategorieModel(); $sectionCategorie = new SectionCategorie(); $categorie = new Categorie(); $Section = new Section(); include "process.php"; if (isset($_POST['submit'])) { if (isset($_POST['category']) && isset($_POST['section'])) { //echo"Register.. 111111111!"; $category = $_POST['category']; $section = $_POST['section']; $sectionCategorie->setCat_id($category); $sectionCategorie->setSec_id($section); $sectionCategorieM->addNewSectionCategorieeModel($sectionCategorie); } else { //echo"Register.. 222222222!"; } } ?> <head> <link href="menu.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="view.css" media="all"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js"></script> <script type="text/javascript" src="menu.js"></script> <style type="text/css"> <!-- body, html { margin:0;