0
How to create login form using PHP?
3 ответов
+ 10
Aira Mae Paloma First you have to create an form of registration in which you will register user with name and password which will be store in database via php.
You need to create three files to understand it clearly
1) connect.php
2) registration.php
3) login.php
As you have asked query of how to create login panel then you can follow this code snippet and create registration form and include.
https://code.sololearn.com/wNJIukAbu15e/?ref=app
+ 2
In HTML file do something like:
<form action="receiveData.php"method="post">
Name: <input type="text" name="name"><br>
Age: <input type="number" name="age"><br>
<input type="submit">
</form>
While in php file do something like
$_POST["name"]
To get the data "name" that's submitted from the form