In this project we put some files in a folder called "inc" stands for "includes". These are the files that we use commonly throughout the project.
- db_connect.php is the database connection file. This file included in the header.php file and it is for establishing MySQl database connection.
- functions.php file includes all the functions we use in the project.
- menu.php files has the navigation menu.
- page_footer and page_header PHP files are the common page elements. These two are included in every pages.
- page_style.css file is the main style sheet of the page and it is responsible for look and feel of the application.
- printer.php file use to store sql query for printing.
- static_var.php file contains static variable definitions.
We separate these files for easy editing and understanding.
Comments
Post a Comment