Rename a group in Emma.

Arguments: 

  • int  $group_id - The group ID of the group you want to update.
  • string  $group_name - The new name for the group.

Use:


require_once('../../MyEmmaPHP.php');

try {

	$me = new MyEmmaPHP();
	
	$retval = $me->updateGroup(20836, 'OHUG Test Integration');
	
	if ($retval) {
		echo "Group updated successfully.\n";
	} else {
		echo "Group not updated.\n";
	}
	    
} catch ( Exception $e ) {
    echo $e->getMessage() . "\n\n";
}



Wrapper for: update_group

Enter to Win!


  1. Enter to win a $100 Google AdWords voucher from Synergy Codeworks and start driving quality traffic to your site today! We pick a new winner every 2 weeks!
  2. First Name(*)
    Please enter your first name.
  3. Last Name(*)
    Please enter your last name.
  4. Company
    Invalid Input
  5. Email Address(*)
    Please enter a valid email address.

Keep in Touch

Contact Us

Buzz

Loading...

People talking about '@synergycode':