mysql - Medoo PHP Framework Using AND -
I'm using the Medoo Framework for a project, I've just started using it, I'm not at a faster pace than how it works.
Anyway, I'm trying to run a simple query that uses SELECT and AND. However, as far as I can see, the Medu website did not say how to implement more part of the query.
I have tried several ways, none of which does not work. I have currently in the code given below - it does not work though. If I enter a correct email address and a wrong password, then the query will still be returned to the user. Select <$> Registered Users = $ database-> ("Administrator", "*", ["admin_email" = "" = $ ";;,,,,,,,,,,,,,,,,,,,, and" = & gt; ["
Any help is greatly appreciated :)
It looks like you've already understood it, but here's the answer for other people thinking about the same thing.
Select $ registered user = $ database-> ("Admin", "*", ["and" => ["admin_email" = & Gt; $ valid admin email, "admin_password" => $ hashead admin password]]);
Comments
Post a Comment