12345678910111213141516171819202122232425262728293031 |
- <?php
- include "config.php";
-
-
- // $email = mysqli_real_escape_string($connect, $POST['email']);
- // $password = mysqli_real_escape_string($connect, $POST['password']);
-
-
- $email = $_POST['email'];
- $password = $_POST['password'];
-
-
- $query = "SELECT * FROM Citas";
-
-
- $results = mysqli_query($connect, $query);
-
- // var_dump($results);
-
-
-
- echo $results;
-
- if($results == True)
- {
- echo "user registered";
- }
- else {
- echo "user not registered";
- }
- ?>
|