Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'connect.php';
- $user =$_POST["user"];
- $pass =$_POST["password"];
- $query="SELECT user FROM utente WHERE user='$user' AND password='$pass'";
- $risultato = mysql_query($query);
- $row= mysql_num_rows($risultato);
- if($row==1)
- {
- echo"Log in effettuato";
- }
- else
- {
- echo"utente non connesso ";
- }
- //mysql_close(utenti);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement