Skip to content

Simple Student Registration system using HTML, PHP, and MySQL. Submit student info through a form and view records in a table.

Notifications You must be signed in to change notification settings

myth-AG1/PHP_DATABASE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ Student Registration Form – README

This project allows a user to register student information using a web form and view all submitted data in a table – without opening the database manually.

πŸ“ Files Included index.html – The main form where user enters data insert.php – Handles the form data and saves it to the database view.php – Displays all student records in a table πŸ› οΈ How to Set Up Follow these steps to make everything work:

  1. πŸ“₯ Copy Files Paste all three files into this folder on your computer:

C:\xampp\htdocs\db Make sure the folder name is db.

  1. πŸ—ƒοΈ Create Database and Table Open your browser and go to: http://localhost/phpmyadmin/

Create a new database: student_db

Inside student_db, create a new table: students

Add the following columns to the students table:

Column Name Type Length Extra id INT AUTO_INCREMENT, PRIMARY KEY name VARCHAR 100 email VARCHAR 100 course VARCHAR 100 (You can change or add more fields based on your form.)

▢️ How to Use Open the form in your browser: http://localhost/db/index.html

Fill in the form fields (like name, email, age) and click Register.

The data will be automatically saved into your database (student_db, students table) using insert.php.

To view the saved data in a table (without using phpMyAdmin), open: http://localhost/db/view.php

βœ… Requirements XAMPP must be installed and running (Apache & MySQL turned ON) A web browser (like Chrome, Firefox, etc.) πŸ’‘ Tip If the form doesn't work, double-check:

---------------------------------------------------------------------------------------------------------------------------Myth------------------------------------------------------------------------------------------------------------------------------------------------

File names and paths If Apache & MySQL are running in XAMPP Database and table structure

About

Simple Student Registration system using HTML, PHP, and MySQL. Submit student info through a form and view records in a table.

Resources

Stars

Watchers

Forks

Packages

No packages published