SHARE
TWEET

Untitled

a guest Feb 20th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $project_name = $_POST['project-name'];
  4. $client = $_POST['client'];
  5.  
  6. $stmt = $dbh->prepare("INSERT INTO projects (project_name, client) VALUES (:project_name, :client)");
  7.  
  8. $stmt->execute([
  9.     'project_name' => $project_name,
  10.     'client' => $client
  11. ]);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top