Minimum version: Midgard 1.1.1 (Iron River)
Creates a new group record with the given parameters.
Returns the id of the created record if successfull. Returns false on failure.
<?php $grp = mgd_create_group('midgard','Midgard Project Ry', 'Museokatu 20-22 A 25','FIN-00100','Helsinki', 'http://www.midgard-project.org/', 'user@midgard-project.org', 'I love Midgard','1'); if(!$grp){ echo "creation of group failed.<br>"; echo "reason: " . mgd_errstr(); }else{ echo "group created."; } ?>