trying to update a single value in the database. The variable value in PHP is good but db query won't update the value in the row in the database table. No errors in error logs in file directory or in console in browser. I am loading in config.inc.php so class Db can execute (this is a small specialty php file). What could be wrong?
<?php require(dirname(__FILE__).'/../../../config/config.inc.php'); function getOAuthCreds() { ... $token = $array['access_token']; var_dump ($token); // all is good here $query = "UPDATE `"._DB_PREFIX_."configuration` SET value=". $token ." WHERE id_configuration=1772"; Db::getInstance()->Execute($query); return $token; } getOAuthCreds(); ?>