Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user=$_POST['user'];
- $password=$_POST['password'];
- echo $user.' '.$password.'<br>';
- $stmt= $mysqli ->prepare("select * from samptyt.usuario WHERE nombre_us=? and pass=?");
- $stmt->bind_param('ss', $user, $password);//ss string string
- $stmt->execute();
- $stmt->bind_result($id, $nombre, $apellido, $email,$nombre_us,$grupo_id, $pass,$org_id,$area_id);
- echo"$id, $nombre, $apellido, $email,$nombre_us,$grupo_id, $pass,$org_id,$area_id";
Add Comment
Please, Sign In to add comment