Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'class.php';
- if(ISSET($_POST['save'])){
- $firstname = $_POST['firstname'];
- $lastname = $_POST['lastname'];
- $conn = new db_class();
- $conn->create($firstname, $lastname);
- header('location: index.php');
- }
- ?>
Add Comment
Please, Sign In to add comment