id"); echo "Existing preference sets (click to view or edit):"; while ($prefs = mysql_fetch_object($result)) { echo "id>$prefs->name"; } mysql_free_result($result); echo "Create new preferences\n"; } ?>