function _DatabaseHandler::add_draft_instruction
Search API
4.x _DatabaseHandler.php | _DatabaseHandler::add_draft_instruction($text) |
5.x _DatabaseHandler.php | _DatabaseHandler::add_draft_instruction($text) |
File
- classes/
_DatabaseHandler.php, line 931
Class
Code
function add_draft_instruction($text)
{
// Adds a new "instruction" to the draft_instructions table.
// Simple insert.
$res = $this->db_query("INSERT INTO draft_instructions
(instruction) VALUES ('?') ", $text);
}