<label for="user_pass">Model:<br /> <?php $sql = "SELECT model FROM model"; $result_select = mysql_query($sql); /*Выпадающий список*/ echo "<select size=3 name=Hours id=Hours class=input name = ''/>"; while($object = mysql_fetch_object($result_select)){ echo "<option value = '$object->model' > $object->model </option>"; } ?> <br> <label for="user_pass">Color:<br /> <input type="text" name="Hours" id="Hours" class="input" value="" size="20" /><br>
<div class="container datain"> <div id="login"> <h1>Control panel</h1> <form name="registerform" id="registerform" action="cpanel.php" method="post"> <p> <label for="user_pass">User:<br /> <input type="select" name="Hours" id="Hours" class="input" value="" size="20" /></label> <label for="user_pass">Model:<br /> <select size=3 name=Hours id=Hours class=input /select><option value = '5G' > 5G </option><option value = '5C' > 5C </option><option value = '5S' > 5S </option><option value = '6G' > 6G </option><option value = '6G+' > 6G+ </option><option value = '6S' > 6S </option><option value = '6S+' > 6S+ </option><option value = '7G' > 7G </option><option value = '7G+' > 7G+ </option><option value = '8G' > 8G </option><option value = '8G+' > 8G+ </option><option value = 'X' > X </option><br> <label for="user_pass">Color:<br /> <input type="text" name="Hours" id="Hours" class="input" value="" size="20" /></label> <label for="user_pass">Screen type:<br /> <input type="text" name="Hours" id="Hours" class="input" value="" size="20" /></label> <label for="user_pass">A grade:<br /> <input type="number" name="Hours" id="Hours" class="input" value="" size="20" /></label> <label for="user_pass">B grade:<br /> <input type="number" name="Minutes" id="Minutes" class="input" value="0" size="20" /></label> <label for="user_pass">F grade:<br /> <input type="number" name="Minutes" id="Minutes" class="input" value="" size="20" /></label> <label for="user_pass">Batch:<br /> <input type="number" name="Hours" id="Hours" class="input" value="" size="20" /></label> </p> <p><label for="user_pass">Кликните на поле ввода даты для вызова календаря (неправильный формат обрабатываться не будет!):<br> <input type="text" name="Date_user" id="Date_user" value=25-05-18 onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)"></label> </p>
<?php /*Выпадающий список*/ echo "<select type=select size=3 name=Hours id=Hours class=input /select>"; while($object = mysql_fetch_object($result_select)){ echo "<option value = '$object->model' > $object->model </option>"; } ?>
<?php /*Выпадающий список*/ echo "<select type=select size=3 name=Hours id=Hours class=input>"; while($object = mysql_fetch_object($result_select)){ echo "<option value = '$object->model' > $object->model </option>"; } echo "</select>"; ?>