name = "Code Snippets"; $appCats[200]->name = "Database"; $appCats[300]->name = "Games/Entertainment"; $appCats[400]->name = "Internet"; $appCats[400]->sub[410]->name = "Email"; $appCats[400]->sub[420]->name = "WWW"; $appCats[500]->name = "Multimedia"; $appCats[500]->sub[510]->name = "MP3"; $appCats[600]->name = "Other"; $appCats[700]->name = "Security"; $appCats[800]->name = "Software Development"; $appCats[900]->name = "Utilities"; // // This function buils a select menu containing the categories. It's used in a // couple of different forms // function makeAppSelectMenuOptions($selected_id = "") { global $appCats; foreach( $appCats as $cat_id => $catObj ) { if( $cat_id == $selected_id ) { $str .= "