/var/www/aa-lam.org/admin/gallerycatadd.php


1
2
3
4
5
6
7
8
9
10
11
<?php require("configure.php"); ?>
<?
//$gallerycattype         = $_POST["gallerycattype"];
$gallerycattype            htmlspecialchars($_POST["gallerycattype"],ENT_QUOTES);


mysql_query("insert into gallerycat (gallerycattype) values ('$gallerycattype')");
mysql_close($dbh);

header("Location: gallerycatindex.php?msg=Add Successful");
?>