function DatabaseHandler::add_draft_instruction
Search API
7.x DatabaseHandler.php | DatabaseHandler::add_draft_instruction($text) |
6.x DatabaseHandler.php | DatabaseHandler::add_draft_instruction($text) |
File
- classes/
DatabaseHandler.php, line 691
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);
}