mpo_get_all_sections(); $section_identifier = isset ($_POST['section_identifier']) ? $_POST['section_identifier'] : ''; if (count($all_sections) > 0 ) { ?> Select Section Namesection_identifier) { $selected = 'selected="true"'; } else { $selected = ''; } ?> value="section_identifier; ?>">section_name; ?>