mgd_create_event_member

(Midgard 1.4.2 'Bifrost')

mgd_create_event_member -- Create an eventmember record

Description

int mgd_create_event_member (int eid, int uid, string [extra])

Minimum version: Midgard 1.4 (Bifrost)

Creates an eventmember record with the provided parameters. If the busy flag is set for the event, the person can not become member of this event if it already is a member of a 'busy' event at the same time.

Returns the id of the created record if successful. Returns FALSE on failure.


<?php
 $eventmember = mgd_create_event_member(13,17,"extrainfo");
?>