Inventory Management System Using PHP
Inventory Management System Using PHP
ON
DATABASE MANAGEMENT SYSTEM
INVENTORY
MANAGEMENT SYSTEM
BY
BINCY S BIJU(811201108)
ATHIRA BABU(811201107)
BINCY S BIJU
ATHIRA BABU
SCHOOL OF DISTANCE EDUCATION
UNIVERSITY OF KERALA
KARIYAVATTOM
CERTIFICATE
External Examiner1
Lecturer in charge
External Examiner2
ACKNOWLEDGEMENT
We gratefully acknowledge the support and kind hearted cooperation by (Coordinator Name)
Coordinator of M.Sc.Computer Science department.
We extend our heartfelt thanks to our classmates, friends and well wishers who helped us to
make this case study success. Above all we are thankful to God, almighty for the strength and
presence of mind to complete these studies work successfully, we humbly solicit and
almighty’s blessings. Our sincere thanks and apologies to anyone who deserve the credit but
whose names fail to appear in the list above.
BINCY S BIJU
ATHIRA BABU
ABSTRACT
An inventory management system project that allow s user to manage and maintain his/her
inventory with ease. The inventory management system has been developed to allow users to add
an inventory, delete an inventory, enter inventory quantity and other details, update inventory
status and more. The inventory management system has its own intelligently managed support
system that allows user to view and manage various inventories added in the system. We aim to
demonstrate the use of create, read, update and delete MySQL operations through this project.
CONTENTS
1. INTRODUCTION
2. SYSTEM STUDY
2.1 EXISTING SYSTEM
2.2 PROPOSED SYSTEM
3. SYSTEM REQUIREMENTS
3.1 HARDWARE REQUIREMENTS
3.2 SOFTWARE REQUIREMENTS
4. SYSTEM ANALYSIS
4.1 FEASIBILITY STUDY
4.2 TECHNICAL FEASIBILITY
4.3 ECONOMICAL FEASIBILTY
4.4 SOCIAL FEASIBILITY
4.5 BEHAVIOURAL FEASIBILITY
4.6 ABOUT THE PROJECT
5. SYSTEM DESIGN
5.1 MODULE DESCRIPTION
5.2 INPUT DESIGN
5.3 OUTPUT DESIGN
5.4 DATA FLOW DIAGRAM (DFD)
6. IMPLEMENTATION AND SYSTEM TESTING
6.1 IMPLEMENTATION
6.2 SYSTEM TESTING
7. SOURCE CODE
8. OUTPUT SCREENSHOTS
9. CONCLUSION
10. BIBLIOGRAPHY
1. INTRODUCTION
The Simple Inventory System In PHP is a simple case study developed using PHP, JavaScript,
and CSS. It contains only admin side. The admin side manages all the management like editing
site contents, adding products, brands, categories, etc. The admin/member has to login to use this
system.
It can only add products and update their details in this system. This case study makes a
convenient way for the store/inventory admin to keep the records of products and orders in a
proper way.
Objectives
This Inventory System is in PHP, JavaScript, Bootstrap, and CSS. Talking about the
features of this system, it contains the admin section only. All the editings, updating, managing
products are from the admin section. The design of this system is simple so that the user won’t
get any difficulties while working on it.
SYSTEM STUDY
2. SYSTEM STUDY
2.1 Existing System
Existing system is file system method is a type of data storing method where we can save
the data. Most of the operations in the existing system of this project is to do basic operations.
• Manpower is needed
• Time consuming
System design is the process of the problem solving and planning for a software solution. A
software design may be as simple as a flowchart or text describing a planned sequence of events.
In other case, some documentation of the plan is usually the product of the design. A software
design may be platform independent or platform specific, depending on the availability of the
technology called for by the design.
1. ADMIN
The admin side manages all the management like editing site contents, adding
products, brands, categories, etc. The admin/member has to login to use this system. It can only
add products and update their details in this system. Admin to keep the records of products in a
proper way.
6.1 IMPLEMENTATION
The major problems encountered was mainly time and due to this pandemic,
being able to get assistance was a little issue alongside getting materials. During the case study
development and execution, the person responsible is required to also have to focus on other
courses which include assignments, tests and examinations. Furthermore, several functionality
with the intention of might not have been met, however it can be implemented afterwards in later
versions. Managing time to be able to utilize all the accessible assets to guarantee the system has
been a success with all the necessary tasks that was applied. Additionally, at every phase there
were tests and debugging to ensure everything is running smoothly.
6.2 TESTING
In this testing approach, data to run tests were obtained from the determinations of the
system and afterward used to test every conceivable section or entries as input. Where
subsequently the real outcome was then contrasted with the normal outcome after each test trial
was carried out.On the off chance that the two outcomes relate at a point, the testing can be
supposed to be a success. Which means the developer that led the testing was more worried
about the genuine outcome delivered by the program than with the web build of the program.
Different kinds of testing where likewise completed such Unit Testing and Combination Testing
and so on
SOURCE CODE
SOURSE CODE
Register
<?php include('server.php') ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>User Registration</title>
</head>
<body>
<div class="main">
<section class="signup">
<div class="container">
<div class="signup-content">
<div class="signup-form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
<label for="re-pass"><i class="zmdi zmdi-lock-outline"></i></label>
</div>
</div>
</form>
</div>
<div class="signup-image">
</div>
</div>
</div>
</section>
</div>
<!-- JS -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="js/main.js"></script>
Login Page
<?php include('server.php') ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>User Registration</title>
</head>
<body>
<div class="main">
<!-- Sign up form -->
<section class="signup">
<div class="container">
<div class="signup-content">
<div class="signup-form">
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
<div class="form-group">
</div>
</div>
</form>
</div>
<div class="signup-image">
</div>
</div>
</div>
</section>
</div>
<!-- JS -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="js/main.js"></script>
</html>
Add Item
<?php
session_start();
if (!isset($_SESSION['username'])) {
header('location: login.php');
if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['username']);
header("location: login.php");
?>
<?php
// initializing variables
$item_name = "";
$item_price = "";
// Add item
if (isset($_POST['add'])) {
echo "connect";
$item_name=mysqli_real_escape_string($db, $_POST['product_name']);
$item_price=mysqli_real_escape_string($db, $_POST['price']);
$quant=mysqli_real_escape_string($db, $_POST['quant']);
VALUES('$item_name','$item_price','$quant')";
if(mysqli_query($db, $query))
else{
echo"<script>alert('Somthing wrong!!!');</script>";
}
header('location: table.php');
?>
<!-->
<!DOCTYPE html>
<html>
<head>
<title>Add Item</title>
</head>
<body>
<div class="form-group">
<div class="form-group">
<label for="name">Price</label>
</div>
<div>
<label for="name">Quantity</label>
</div>
</form>
<div>
<a href="table.php">Home</a>
</div>
</body>
</html>
<!-->
SCREENSHOTS
REGISTER PAGE
LOGIN PAGE
DASHBOARD
ADD ITEM
EDIT
CONCLUSION
9. CONCLUSION
The “INVENTORY MANAGEMENT SYSTEM” also makes keeping records and
calculating sales easily without errors and mistakes. Also supplementary necessary functionalities will
be integrated. We have given the option add the details of Product, view the details, editing site
contents, adding products, brands, categories, etc. We can improve efficiency of the system, Less
human error, Strength and Strain of manual labour can be reduced, High Security, Data Consistency,
Easy to handle, Easy data updating, Easy record keeping.
REFERENCE
10. REFERENCE
Bradley,(2013)ThoughtCAvailable:http://php.about.com/od/phpbasics/qt/
what_is_php_used_for.htm (Accessed 31 December 2020)
According to chase Jacobs and Aquilano 2004 inventory is the stock of any item.
(2018, February 21).
Averion, Gaela, and Libo (2009) Monitoring and Inventory for discovery.
https://www.phptpoint.com/