X
 
 
BiWord currently has: 225 Members, 14 Groups, 0 Photos, 28 Videos publicly available. Register now, to access more.


Pages home > Exapmle for Php Basics sorting

Exapmle for Php Basics sorting

<html>

<head>
<title>Form Examples by Kaela Street</title>

</head>
<body>


<form name="form" action="/nikhil/junk5.php" method="post">

Form Examples by Kaela Street<br>
Enter some text or numbers:
<input name="TextData" type="text" value=""><br>


Select one or more checkboxes:
<input name="one" type="checkbox" value="Box one, ">One


<input name="two" type="checkbox" value="Box two, ">two

<input name="three" type="checkbox" value="Box three, ">three<br>


Select <b>one</b> of the radio buttons:
<input name="radio" type="radio" value="Mum" >Mum

<input name="radio" type="radio" value="Dad" > Dad

<input name="radio" type="radio" value="Kitty Cat" > Kitty Cat <BR>


Replace the text in this box with your own text:
<textarea name="boxy" rows=5 cols=20 wrap="off">Example Data


</textarea><br>

Now select <b>one</b> of the drop down choices:

<select size="1" name="Name">

<option value=""> </option>
<option value="value1">Item1</option>

<option value="value2">Item2</option>
<option value="value3">Item3</option>

<option value="value4">Item4</option>

</select> <br>


Now select<b> some </b> of the drop down choices:
<select name="data[]" size="10" multiple >

<option value="London">London</option>
<option value="Manchester">Manchester</option>

<option value="Glasgow">Glasgow</option>
<option value="Winchester">Winchester</option>


<option value="Oxford">Oxford</option>
</select>



<input type="submit" name="submit1" value="OK" >


</form>
<hr>


nikhi;<br>Box one, Box two, <br />

<b>Notice</b>: Undefined index: three in <b>/opt/lampp/htdocs/nikhil/junk5.php</b> on line <b>57</b><br />


<b>Mum</b> hi isijdhkk value1<br>Glasgow<br></body>


</html>

Last updated 69 days ago by Nikhil Yadav