https://github.com/mzilinassim/crud-php
Mini "CRUD" PJ using php and mysql
https://github.com/mzilinassim/crud-php
bootstrap crud html mysql php sql
Last synced: 4 months ago
JSON representation
Mini "CRUD" PJ using php and mysql
- Host: GitHub
- URL: https://github.com/mzilinassim/crud-php
- Owner: mziliNassim
- Created: 2024-03-10T20:14:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-13T16:44:34.000Z (about 1 year ago)
- Last Synced: 2025-01-01T22:16:02.873Z (5 months ago)
- Topics: bootstrap, crud, html, mysql, php, sql
- Language: PHP
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD PHP
## Introduction
The `CRUD` Opertion : Create / Reade / Update / Delete
- The `Create` operation enable to add new entries into database (mySQL).
- The `Read` operation allows for the retrieval of existing data, ensuring users can access relevant information as needed.
- The `Update` operation, users can modify and edit existing data entries, ensuring accuracy.
- The `Delete` operation enable to remove unwanted data entries from the database (mySQL), maintaining cleanliness and organization within our application's data structure.
## Technologies
- Bootstrap
- php
- mySQL
## DB Operations
-
`students` :
- Create new student "login"
- Delete exist student
- Update students
- Get all student and insert table of students in UI page
## Usage
1. Lance server `XAMPP` `WAMP` `MAMP` ...
2. Create Database `crud_app`
```sql
CREATE DATABASE crud_app ;
use crud_app ;
```
3. Create mySQL Tables `students`
```sql
CREATE TABLE students(
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
first_name VARCHAR(255) NOT NULL,
last_name VARCHAR(255) NOT NULL,
age INT NOT NULL
);
```
4. Config youn db connection `./assets/dbconx.php`
```php
$USERNAME = "YOUR_USERNAME"; // "root"
$PASSWORD = "YOUR_PASSWORD"; // ""
```
5. Lance the app in `localhost/index.php`