A simple PHP application to manage posts. This application allows users to add, edit, delete, and view posts.
- Clone the repository to your local machine.
- Create a MySQL database named
postapp. - Update the database configuration in
config/config.phpwith your database credentials. - Import the database schema and sample data (if any) into your MySQL database.
Update the config/config.php file with your database credentials:
<?php
// Database configuration
define('DB_HOST', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', 'your_password');
define('DB_NAME', 'postapp');
?>