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

	$getCATEGORIES = mysql_query("SELECT * FROM ath_categories ORDER BY ath_categories_label");
	
	while ($CATEGORYrow = mysql_fetch_array($getCATEGORIES)){
		echo("<option value=\"" . $CATEGORYrow["ath_categories_id"] . "\" selected>" . $CATEGORYrow["ath_categories_label"] . "</option>");
	}	
			
echo("</select>");
?>
Return current item: Athena Research Assistant