Added a class to retrieve the basic item information data.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
include("db/category.php");
|
||||
|
||||
if($_GET["category_name"] != "")
|
||||
{
|
||||
create_category($_GET["category_name"]);
|
||||
}
|
||||
?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Create New Category</title>
|
||||
</head>
|
||||
<body >
|
||||
<form action="create_category.php">
|
||||
<label for="category_name">Category Name:</label><input type="text" id="category_name" name="category_name"><br>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user