Php > File Manipulation
Form Examples Text Boxes to Drop Downs
Form Examples Text Boxes to Drop Downs
Form Examples
" method="post"> Form Examples
Enter some text or numbers:
Select one or more checkboxes:
One
two
three
Select
one
of the radio buttons:
Mum
Dad
Kitty Cat
Replace the text in this box with your own text:
Example Data
Now select
one
of the drop down choices:
Item1
Item2
Item3
Item4
Now select
some
of the drop down choices:
London
Manchester
Glasgow
Winchester
Oxford
'; $box=$_POST["one"]; echo $box.' '; $box=$_POST["two"]; echo $box.' '; $box=$_POST["three"]; echo $box.' '; $radio=$_POST["radio"]; echo '
'.$radio.'
'; $boxy=$_POST["boxy"]; echo $boxy.' '; $Name=$_POST["Name"]; echo $Name.'
'; $data = $_POST["data"]; foreach ($data as $value) { echo $value."
"; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage