🚀 In this video, we start building a complete State & City CRUD Project using PHP and MySQL.
In this part, we create the State table, understand Primary Key & Foreign Key concepts, connect the database, insert state data, and display all states dynamically in the navigation menu.
📚 Topics Covered:
State CRUD Project Introduction
Database Design
Primary Key Concept
Foreign Key Introduction
Create State Table in MySQL
PHP Database Connection
Fetch Data from Database
Display States in Navigation Bar
Dynamic Navigation using PHP & MySQL
💻 Technologies Used:
HTML
CSS
PHP
MySQL
XAMPP
🗂 Database Tables:
STATE TABLE
sid
sname
sdetails
CITY TABLE
cid
sid (Foreign Key)
cname
cdetails
🔥 This project is beginner friendly and helps you understand real-world database relationships step by step.
#php #mysql #crudproject #phpmysql #foreignkey #webdevelopment #grinfotech #phpcrud #mysqlproject #statecityproject #xampp #phptutorial