10-18-2017, 09:49 PM
I ended up having to do:
Doing:
would not work, or any other variation of binding the variable (quotes, no quotes, etc.). It didn't give an error, but it returned no results.
Code:
$db->query("SELECT * FROM apps_project WHERE token = '".$project_token."'");
Doing:
Code:
$db->query("SELECT * FROM apps_project WHERE token = '?'",($project_token));
would not work, or any other variation of binding the variable (quotes, no quotes, etc.). It didn't give an error, but it returned no results.