function _DatabaseHandler::add_draft_instruction

4.x _DatabaseHandler.php _DatabaseHandler::add_draft_instruction($text)
5.x _DatabaseHandler.php _DatabaseHandler::add_draft_instruction($text)

File

classes/_DatabaseHandler.php, line 693

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