Hadi1989

Untitled

Jul 5th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2.     require_once 'class.php';
  3.    
  4.     if(ISSET($_POST['save'])){ 
  5.         $firstname = $_POST['firstname'];
  6.         $lastname  = $_POST['lastname'];
  7.         $conn = new db_class();
  8.         $conn->create($firstname, $lastname);
  9.         header('location: index.php');
  10.     }  
  11.    
  12. ?>
Add Comment
Please, Sign In to add comment