SHARE
TWEET

Untitled

a guest Sep 4th, 2018 156 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     $usuario = $_SESSION['username'];
  3.     $pass = $_SESSION['password'];
  4.  
  5.     $results = $mysqli->query("SELECT Nombre, SUBSTRING(Nombre, 1,20) AS palabra,
  6.                               IdUsuario, Username, Password
  7.                               FROM Usuarios
  8.                               WHERE Username='$usuario' AND Password ='$pass'");
  9.     mysqli_set_charset("utf8");
  10.     if($res = $results->fetch_array()) {}
  11.  
  12.     ?>
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