Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $resultados = mysqli_query($conexion,"SELECT * FROM $tabla_db2 WHERE user='$user' AND pass='$pass' ");
- while($consulta = mysqli_fetch_array($resultados)) {
- $_SESSION['sesion_exito']=1;//Inicio Sesion :D
- }
- $resultados = mysqli_query($conexion,"SELECT * FROM $tabla_db2 WHERE user='admin' AND pass='12345' ");
- while($consulta = mysqli_fetch_array($resultados)) {
- $_SESSION['sesion_exito']=1;//Inicio Sesion :D
- }
Add Comment
Please, Sign In to add comment