.


:




:

































 

 

 

 


.




<input type=date name=seldate>

 

<select> , , . size <select>, . , <option>, . <option>, <select>. , <select> . , .

<select size="3" name="product">

<option value="Computer"></option>

<option selected value="printer"></option>

<option value="Disk"></option>

<option value="Mobile"></option>

<option value="TV"></option>

</select>

. . sel_form1 Form_group.

<html>

<head> <!-- -->

<title> </title>

<body bgcolor = silver text = green>

<h2 align = center> <!-- -->

</h2> <br>

<hr size=2 width=90% color = green> <!-- -->

<font face=verdana size=4 color=blue> <!-- -->

<form action =http://Localhost/Form_group/sel.php method=get>

<div align=center>

<br>

<input type=text name=firstname style="font-size:14pt; color:green">

<br><br>

</div>

<div align=left>

<br>

<input type="date" name=seldate> <br><br>

</div>

<div align=right>

<br>

<input type= radio name=r1 id=state1 value=male checked>

<input type= radio name=r1 id=state2 value=female >

<br><br><br>

</div>

<div align=center>

<br>

<input type=checkbox name=check1[] value=1> <br>

<input type=checkbox name=check1[] value=2> <br>

<input type=checkbox name=check1[] value=2> <br>

<br><br><br>

</div>

<div align=center>

<table border=0 width=80%>

<!-- -->

<tbody>

<tr>

<td align=center> <input type=reset style="font-size: 14pt; color: red" value= > </td>

<td align=center> <input type=submit name=send style="font-size: 14pt; color: red" value= > </td>

</tr>

</tbody>

</table>

</div>

</form> </body></html>

<?php

$firstname=$_GET['firstname'];

$sdate=$_GET['seldate'];

$gender=$_GET['r1'];

$reclama=$_GET['check1'];

echo " $firstname <br><br>";

echo " , $sdate <br><br>";

echo " - $gender <br><br>";

 

echo " <br>";

$i=0;

while (!$reclama[$i]== NULL)

{

echo "$reclama[$i] <br>";

$i++;

}

exit();

?>





:


: 2016-12-18; !; : 297 |


:

:

, .
==> ...

1756 - | 1580 -


© 2015-2024 lektsii.org - -

: 0.009 .