STEP:-1 Create database Create database class; mysql> use student mysql> create table student(id int,name varchar(40),email varchar(80),password varchar(40)); mysql>insert into student(id,name,email,password) values(1,’john’,’john.doe@gmail.com’,’12345’); STEP:-2. Create a file for database connection (named as connect.php) STEP:-3. Create HTML Structure for Responsive/Bootstrap layout

Please Sign In



STEP:-4. Convert the HTML file in to PHP and add PHP code below 0) { //here you can redirect on your file which you want to show after login just change filename ,give it to your filename. //header("location:filename.php"); //OR just simply print a message. Echo "You have logged in successfully"; } else { echo "username or password incorrect"; } } } ?>