It's possible to use multiple INSERT records in CodeIgniter Active Record without for, foreach and etc. ?
My current code:
foreach($tags as $tag) {
$tag = trim($tag);
$data = array(
'topic_id' => $topic_id,
'user_id' => $user_id,
'text' => $tag
);
$this->db->insert('topic_tags', $data);
}