Professional Documents
Culture Documents
WBP Exp 15
WBP Exp 15
WBP Exp 15
Practical No 15:
Q. Write a Program to create a form and store the entered data in the database also displays the
entered data.
CODE:
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$username = $_POST["username"];
$password = $_POST["password"];
<label>
Password:
<input type="password" name="password" placeholder="Enter Password">
</label> <br>
OUTPUT: