<h1>E-mail addresses of NuSkin Comp23</h1>

<?php

$Q="select u.email
	from _users u
	left join _group_users gu on (gu.userId = u.id)
	left join _groups g on (gu.groupId = g.id)
	where g.name = 'comp23'";

$emailArray = $SPADE['db']->query($Q, DB_LIST);

$emailList = join(', ', $emailArray);

echo $emailList;

?>