The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled PHP Code
Posted by: bilz | July 27, 2010 @ 8:23am
PHP Code
[
Download
]
<?php if (!isset($_POST['filter'])) { echo "here"; $fields[0] = "hello"; $fields[1] = "yo"; $fields[2] = "salut"; } else { //echo sizeOf($_POST); //echo $_POST[2]; for ($j = 0; $j<sizeOf($_POST); $j++) { echo $_POST[$j] . '<br>'; } } echo '<FORM NAME ="form1" METHOD ="POST" ACTION ="test2.php">'; for ($i = 0; $i < 3; $i++) { echo $fields[$i] .': <Input type="Checkbox" Name="'.$fields[$i].'" value="'.$fields[$i].'"><br>'; } echo '<INPUT TYPE = "Submit" Name = "filter" VALUE = "Test it!">'; echo '</form>'; ?>
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.57 / 8
42 Votes
http://codebin.yi.org/763
page generated in 0.00 seconds