[eluser]JamieBarton[/eluser]
Hi guys
I'm creating a form to invite my friends to an event I'm creating, however when I currently invite the users I'm just using a foreach loop on the $_POST['friend'] checkboxes, the values contain their ID.
Then to insert, I'm just doing $this->db->insert(array(etc....));
However, I want to use the insert batch, how would I construct this? The user guide hasn't been much help when I'm trying to figure this out using Active Record.
I also want to send emails to the invites friends (if they have in their profiles receive emails allowed).
Any help would be appreciated
Regards,
Jamie