Esempio n. 1
0
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-xs-12 col-sm-6 col-md-6">
                                <div class="form-group">
                                    <h4><label for="interest"> BirthDay*</label></h4>
                                    <select class="selectpicker" data-style="btn-primary" data-width="auto" style="display: none;" name="day">
                                    <?php 
daysOption();
?>
                                    </select>
                                    <select class="selectpicker" data-style="btn-primary" data-width="auto" style="display: none;" name="month">
                                    <?php 
monthOption("January,Febuary,March,April,May,June,July,August,September,October,November,December");
?>
                                    </select>
                                    <select class="selectpicker" data-style="btn-primary" data-width="auto" style="display: none;" name="year">
                                    <?php 
yearOption();
?>
                                    </select><br>                      
                                </div>
                            </div>
                            <div class="col-xs-12 col-sm-6 col-md-6">
                                <div class="form-group">
                                    <div class="bs-docs-example">
                                        <h4><label for="interest"> Area of Interest</label></h4>
                                        <select class="selectpicker" id="interest" name="interest" multiple="" style="display: none;">
                                        <?php 
Esempio n. 2
0
File: php1.php Progetto: kapsi44/UMS
    foreach ($options as $value) {
        $val = substr($value, 0, 3);
        echo "<option value='{$val}'> {$value} </option>";
    }
}
?>



    <html>
        <body>
            <?php 
inputTags('text', 'fn', 'first', 'text');
inputTags('password', 'pwd', 'pass', 'password');
selectTags(o1, selct);
createRangeSelect('Day', 'day', 0, 31);
createRangeSelect('Month', 'month', 1, 12);
createRangeSelect('Year', 'year', 2000, 2020);
createRangeSelect('Hour', 'hour', 0, 24);
createRangeSelect('Minute', 'minute', 0, 60);
createRangeSelect('Second', 'second', 0, 60);
?>
<select>
<?php 
monthOption("January,Febuary,March");
?>
</select>

</body>
</html>