mgd_create_member

(Midgard 1.4.2 'Bifrost')

mgd_create_member -- Create a member record

Description

int mgd_create_member (int uid, int gid, string extra)

Minimum version: Midgard 1.2.5 (Mad King)

Creates a member record with the provided parameters.

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


<?php
 $uid   = 13;
 $gid   = 17;
 $extra = "Some freeform extra info";
 mgd_create_member( $uid, $gid, $extra );
?>