</script> </div> </div> <!-- end of introtext --> </div><!-- end of contentHeading --> <div class="formBox" id="formBox"> <div id="formContainer" class="formContainer"> <form name="SpeechToText" action="index.php" method="post"> <div id="formData"> <!-- start context select --> <h3>Speech Context:</h3> <select name="SpeechContext"> <?php $speechContexts = $controller->getSpeechContexts(); foreach ($speechContexts as $sname) { $selected = ''; if ($controller->isSpeechContextSelected($sname)) { $selected = 'selected '; } ?> <option <?php echo $selected; ?> value="<?php echo $sname; ?> "><?php echo $sname; ?> </option> <?php }