function DatabaseHandler::add_draft_instruction

6.x DatabaseHandler.php DatabaseHandler::add_draft_instruction($text)

File

classes/DatabaseHandler.php, line 689

Class

DatabaseHandler

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);
}