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 :)

Post-text "itemprop =" text ">

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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -