Location: PHPKode > projects > Athena Research Assistant > athena-dev-0.1pre-alpha/includes/show_groups.inc.php
<?php
echo("<select name=\"group\">");

	while ($GROUProw = mysql_fetch_array($getGROUPS)){
		if ($GROUProw["ath_groups_id"] == $_POST["group"]){
			echo("<option value=\"" . $GROUProw["ath_groups_id"] . "\" selected>" . $GROUProw["ath_groups_name"] . "</option>");
		}
		else{
			echo("<option value=\"" . $GROUProw["ath_groups_id"] . "\">" . $GROUProw["ath_groups_name"] . "</option>");
		}
	}
echo("</select>");
?>
Return current item: Athena Research Assistant