Update _test folder
This commit is contained in:
13
_test/ajax/ajax-sqlite-insert/insert.php
Normal file
13
_test/ajax/ajax-sqlite-insert/insert.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
require_once'conn.php';
|
||||
$firstname=$_POST['firstname'];
|
||||
$lastname=$_POST['lastname'];
|
||||
$address=$_POST['address'];
|
||||
|
||||
|
||||
$query="INSERT INTO `member` (firstname, lastname, address) VALUES('$firstname', '$lastname', '$address')";
|
||||
|
||||
$conn->exec($query);
|
||||
|
||||
echo "Save Data";
|
||||
?>
|
||||
Reference in New Issue
Block a user