<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_catagory.php'; $catagory = new catagory(); $rs_catagory = $catagory->catagory_list(); if ($_REQUEST['submit']) { $table = 'ninerr_catagory'; $catagory_name = $_REQUEST['catagory_name']; $catagory_description = $_REQUEST['catagory_description']; $dataArray = array("catagory_name" => $catagory_name, "catagory_description" => $catagory_description); $catagory->dataInsert($table, $dataArray); reDirect('catagory.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie-sucks.css" /> <![endif]--> </head>