SHARE
TWEET

Untitled

a guest Jun 26th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $conectar::parent=conexion();
  2.    parent::set_names();
  3.  
  4.   If (isset($_POST["est"]==0)){
  5.  
  6.        $estado=1;
  7.  
  8.  } else {
  9.  
  10.        $estado=0;
  11.  }
  12.   $sql="insert into tarjetas(idtarjeta,idbancos,tarjeta,estado)
  13.  Values(null,?,?,?);";
  14.  
  15.  $sql=prepare($sql);
  16.  $sql=>bindvalue(1, $idbancos);
  17.  $sql=>bindvalue(2, $tarjeta);
  18.  $sql=>bindvalue(3, $estado);
  19.  $sql=>execute($sql);
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