Basic Inventory management system using PHP & MySQL

Inventory management system using PHP & MySQL source code with full features such as managing buyers, managing products, categorizing products by category, and generating statistical reports. The code is suitable for beginners who are new to programming in PHP & MySQL as it is written in a very simple way.

Quản lý hàng tồn kho bằng PHP & MySQL

* How to install script on localhost:

  • Download and install a local web server such as AMPPS/XAMPP/WAMP to run our PHP scripts;
  • Download and extract the script and copy it to the web server directory;
  • Access phpMyAdmin to create a new database, then import file inventory_system.sql database;
  • Open file config.php (in directory includes/config.php) to configuration database connection:

<?php

  define( 'DB_HOST', 'localhost' );          // Set database host

  define( 'DB_USER', 'root' );             // Set database user

  define( 'DB_PASS', '' );             // Set database password

  define( 'DB_NAME', 'inventory_system' );        // Set database name

?>

  • Access  project URL: http://localhost/project_name/
  • Default login account: admin / admin

Previous Post Next Post