I am trying to retrieve a row in MySQL using PDO but the result is empty. Here is the code:
Parameters ecorreo and pwd are passed by GET.
The problem is that the result is empty but in the database I have one row that matches with correo and contrasenya and it is not saved in the result variable. There aren't errors so I don't know how to pass the parameters correctly in order to run the query correctly.