Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2.  
  3. require 'includes/db.php';
  4.  
  5.         $pathfile = '/upload/1170939993_Logo Fullsix.jpg';
  6.  
  7. if (isset($_POST['textetest'])) {
  8.         connectDB();
  9.  
  10.         $stmt = $dbh->prepare("INSERT INTO `dossier`(`id_dossier`, `lien_dossier`, `date_ajout`) VALUES (?,:name,?)");
  11.         $stmt->bindParam(':name', $name);
  12.  
  13.  
  14. // insertion d'une ligne
  15.         $name = 'one';
  16.         $stmt->execute();
  17.  
  18. }
  19.  
  20.  
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement