selectSquad

(/rs/public/functions.php)

selectSquad -- provide option tags for select input

Description

string selectSquad ($selected = 0, $none = "yes", $fleet = '', $all = '')

This function will return

Examples

selectSquad () /* Returns options for all Squadrons in the RS, including the "None" option */

selectMember (1, "no", 1) /* returns all the Squadrons in fleet with id 1. No "None" option is returned. If Squadrons with id 1 is in the list, it will be selected by default. */

Related Functions

selectMember

Dependencies

None.

Function Index