Geen omschrijving

getcitas.php 507B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. include "config.php";
  3. // $email = mysqli_real_escape_string($connect, $POST['email']);
  4. // $password = mysqli_real_escape_string($connect, $POST['password']);
  5. $email = $_POST['email'];
  6. $password = $_POST['password'];
  7. $query = "SELECT * FROM Citas";
  8. $results = mysqli_query($connect, $query);
  9. // var_dump($results);
  10. echo $results;
  11. if($results == True)
  12. {
  13. echo "user registered";
  14. }
  15. else {
  16. echo "user not registered";
  17. }
  18. ?>