This is a simple to-do app created using PHP and MySQL. It utilizes the UIKit CSS framework to enhance the user interface.
The to-do app allows users to manage their tasks efficiently. You can add tasks, mark them as completed, close completed tasks, and view the task history.
- HTML
- CSS
- PHP
- MySQL
- JavaScript (script.js)
- Add Task: Add a new task to the to-do list.
- Close Task: Mark the task as completed, closing them and move them to the history.
- Delete History: Remove all the completed tasks from the history.
Follow the steps below to run the to-do app:
- Clone the Repository:
git clone https://github.com/km1610/To-Do-App.git
-
Database Configuration: Import the provided SQL file (
tasks.sql
) to set up the necessary database structure. -
Configuration File: Open
config.php
and update the database connection details.
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "to-do";
- Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
-
Web Server: Use a local server (e.g., XAMPP, MAMP) or your preferred web server to host the application.
-
Access the App: Open the app in your web browser:
http://localhost/path/to/todo-app/index.php
Feel free to explore the features and customize the app according to your preferences. You are welcome to contribute and enrich the to-do app with your ideas, bug reports, or code improvements. <3