Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $data = $_POST;
- extract($data);
- include_once '/connect.php';
- $created = Date("Y-m-d H:i:s");
- $sql = "INSERT INTO `cars` (model, speed, year, body, country, created) VALUES ( '$model', '$speed', '$year', '$body', '$country', '$created' )";
- $result = $pdo->query($sql);
- var_dump($result);
Add Comment
Please, Sign In to add comment