createRow()
createRow(string $table, array $values = array())
Creates a row in the database. e.g.
createRow('answers', array( 'agent_id' => get_login_id(), 'question' => $questionID, 'answer' => $value ));
Parameters
string | $table | Table name |
array | $values | Associative array of table columns and the values to set. |