Commit ef948373 authored by Maneesha Fernando's avatar Maneesha Fernando Committed by GitHub

Delete insert.php

parent 0bd4392a
<?php
include 'config.php';
$fname = $_POST["fname"];
$lname = $_POST["lname"];
$address = $_POST["address"];
$city = $_POST["city"];
$pin = $_POST["pin"];
$email = $_POST["email"];
$pwd = $_POST["pwd"];
if($mysqli->query("INSERT INTO users (fname, lname, address, city, pin, email, password) VALUES('$fname', '$lname', '$address', '$city', $pin, '$email', '$pwd')")){
echo 'Data inserted';
echo '<br/>';
}
header ("location:login.php");
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment