esc($key); $query = "SELECT `value` FROM `setting` WHERE `key` = '" . $escdKey . "'"; $res = $db->query($query); if (count($res) == 0) return false; return $res[0]['value']; } } ?>