Im just starting out building an app with Medoo,
Im trying to run a select query looking like this
$datas = $database->debug()->select(
"table",
["id","password"],
["email" => "johndoe@emailaddress.com"]
);
When i run this it uses the query
SELECT "id","password" FROM "table" WHERE "email" = 'johndoe@emailaddress.com'
However this always returns NULL
Inserting to the DB runs correctly, and when I try to run the query generated by medoo directly in mysql CLI it returns a syntax error.
Im struggling to find an issue with the syntax, perhaps maybe the "' quotes?
PHP Version: PHP 5.4.41
MySQL: mysql Ver 14.14
Medoo: 0.9.8.3
Thanks for any help