- Create a basic web application that performs Create, Read, Update, and Delete (CRUD) operations.
- Follow the groupings on our first activity.
- Basa, Fiona Gene
- Deodora, Don Jasper
- Estonilo, Charm Azeneth
- Palis, Francis Paul
- Salango, Alyza Mae
- Yu, Kimberly
This project is based on the tutorial series:
- PHP Tutorials. Directed by ProgrammingVlogs
- Login
- Register
- Logout
- CRUD
- Boostrap
| Feature | Screenshot |
|---|---|
| Login | ![]() |
| Register | ![]() |
| Create | ![]() |
| Read | ![]() |
| Update | ![]() |
| Delete | ![]() |
![]() |
Before you begin, ensure you have the following installed:
- XAMPP (or any PHP server with MySQL/MariaDB)
- PHP 7.4+
- MySQL 5.7+ or MariaDB
- A modern web browser
Follow these steps to get the application running on your local machine:
Get the project files by cloning the repository or downloading the ZIP:
git clone https://github.com/nameispaul/studentcrud.gitMove the entire studentcrud folder into your XAMPP htdocs directory (e.g., C:\xampp\htdocs\studentcrud\).
- Open phpMyAdmin in your browser (usually
http://localhost/phpmyadmin). - Click on the "Import" tab.
- Choose the
studentcrud.sqlfile from your project folder. - Click "Go" to import the database. This will create the
studentcruddatabase, along withtbl_userandtbl_studenttables, pre-filled with sample data.
Open conn.php and verify that the database credentials match your local setup. The default settings are usually correct for XAMPP:
<?php
$host = "localhost";
$db_username = "root";
$db_password = ""; // Often empty for XAMPP
$db_name = "studentcrud";
$conn = mysqli_connect($host, $db_username, $db_password, $db_name);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
?>- Start Apache and MySQL services in your XAMPP control panel.
- Open your web browser and navigate to:
http://localhost/studentcrud/login.php
You can use these credentials to log in immediately, or register a new user:
| Username | Password | Full Name |
|---|---|---|
admin |
admin |
Admin Admin |
sample |
sample |
Sample Sample |






