Skip to content

Livestock Sales & Inventory - A simple web project about Sales & Inventory Management System of Piggery Farm using enhanced object-oriented programming (OOP) approach.

License

wilfredpine/pigleth

Repository files navigation

PHP-OOP-Enhanced

Sample project

  • Pig Sales & Inventory

PHP Version

PHP 7.0 - PHP 7.4 (recomended)

How to setup?

  • just edit core.php file
/**
     * To hide the error when in production
     * set to 1 if you're on development - e.g. ini_set('display_errors', 1); 
     * and 0 in production - e.g. ini_set('display_errors', 0);
     */
        ini_set('display_errors', 1);

    /**
     * Database Information
     */
        define('DBHOST','localhost');
        define('DBNAME','baboy');
        define('DBUSER','root');
        define('DBPASS','');
        define('CHARSET','utf8');
        define('DBPORT',':3306');
    
    /**
     * Bas URL
     */
    define('BASE_URL','http://localhost/pigs/');  // change it if you use it online (or uploaded to hosting server)

About

Livestock Sales & Inventory - A simple web project about Sales & Inventory Management System of Piggery Farm using enhanced object-oriented programming (OOP) approach.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published