SHARE
TWEET

Untitled

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