function DatabaseHandler::set_variable
Search API
7.x DatabaseHandler.php | DatabaseHandler::set_variable($name, $value) |
6.x DatabaseHandler.php | DatabaseHandler::set_variable($name, $value) |
Sets a variable's value in the variables table.
Parameters
unknown_type $name:
unknown_type $value:
File
- classes/
DatabaseHandler.php, line 1007
Class
Code
function set_variable($name, $value) {
$res2 = $this->db_query("REPLACE INTO variables (name, value)
VALUES (?, ?) ", $name, $value);
}