Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mah-shamim/simple-todo-list-php
A basic to-do list application built with PHP, where users can add, edit, and delete tasks. Ideal for beginners looking to learn PHP and MySQL.
https://github.com/mah-shamim/simple-todo-list-php
beginner-projects code-examples css hands-on-projects html jquery learning-resources mysql open-source php php-tutorials task-management to-do-list web-application web-development
Last synced: 19 days ago
JSON representation
A basic to-do list application built with PHP, where users can add, edit, and delete tasks. Ideal for beginners looking to learn PHP and MySQL.
- Host: GitHub
- URL: https://github.com/mah-shamim/simple-todo-list-php
- Owner: mah-shamim
- License: mit
- Created: 2024-07-29T19:00:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T19:31:55.000Z (4 months ago)
- Last Synced: 2024-10-10T21:17:40.447Z (about 1 month ago)
- Topics: beginner-projects, code-examples, css, hands-on-projects, html, jquery, learning-resources, mysql, open-source, php, php-tutorials, task-management, to-do-list, web-application, web-development
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple To-Do List
A basic to-do list application built with PHP and jQuery. Users can add, edit, and delete tasks seamlessly. Ideal for beginners looking to learn PHP and MySQL.### Install Process
1. **Clone the Repository:**
```sh
git clone https://github.com/yourusername/simple-todo-list-php.git
```2. **Navigate to the Project Directory:**
```sh
cd simple-todo-list-php
```3. **Set Up the Database:**
- Create a MySQL database called `todo_list`.
- Import the provided SQL file to set up the necessary tables.
```sh
mysql -u yourusername -p todo_list < database.sql
```4. **Configure the Database Connection:**
- Open the `config.php` file and update the database credentials.
```php
connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
```5. **Start a Local PHP Server:**
- Start the PHP built-in server.
```sh
php -S localhost:8000
```6. **Access the Application:**
- Open your web browser and navigate to `http://localhost:8000`.
### File StructureHere’s a basic file structure for your to-do list application:
```
simple-todo-list-php/
├── database.sql
├── config.php
├── index.php
├── get_task.php
├── add_task.php
├── edit_task.php
├── delete_task.php
├── styles.css
└── script.js
```