Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 18th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2. include_once "conectarABD.php";
  3. $sql = "insert into probando1(id,nombre,apellido,edad) values (?,?,?,?)";
  4.  $smt = $dbn->prepare($sql);
  5.  $id = 1;
  6.  $nombre = "Diego";
  7.  $apellido = "Aguila";
  8.  $edad =27;
  9.  $smt->bindParam(1,$id); $smt->bindParam(2,$nombre);
  10.  $smt->indParam(3,$apellido);
  11.  $smt->bindParam(4,$edad);
  12.  $smt->execute();
  13.  echo "Added"; ?>
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