This is a complete source code on how to create a registration and login page using Bootstrap Framework in PHP/MySQLi. As normal registration and login page, the code itself validates the user credentials such as checking the email if it already exists on the database when signing up. Bootstrap Framework will help you with the design of your web application. By that, bootstrap will help you to provide your end-users or client have a better experience when using it. Talking about the backend, the source code uses PHP Object-Oriented Programming OOP, this type of coding will help you to develop a PHP project easier to modify, debug, and maintain. Check out the source code and learn for your future project development using PHP/MySQLi (OOP) and Bootstrap Framework.
Note that this is a simple source code that didn’t include a security feature on this script. This is just a demonstration of a registration and login page with session and validation.
Do not use this on the production site.
A detailed tutorial on this can be found at Registration and Login Page using Bootstrap Framework and PHP/MySQL.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
$result = $conn->query($sql);
. And there's no dbc variable in there. Can you please paste the code here?