Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $project_name = $_POST['project-name'];
- $client = $_POST['client'];
- $stmt = $dbh->prepare("INSERT INTO projects (project_name, client) VALUES (:project_name, :client)");
- $stmt->execute([
- 'project_name' => $project_name,
- 'client' => $client
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement