OZONE Asylum
Forums
Stupid Basic HTML
Multi-selection form elements
This page's ID:
9666
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Or... [code] (name the select city[] ) <SELECT MULTIPLE NAME='city[]'> <OPTION VALUE=1>Rio d,Janeiro</OPTION> (selected) <OPTION VALUE=2>Brasilia</OPTION> <OPTION VALUE=3>Paris</OPTION> (selected) <OPTION VALUE=4>Bonn</OPTION> </SELECT> [/code] This can be accessed in PHP in the array that now exists by the name: "$_POST['city']" (or $_GET['city'] whichever method you use in your form) Like this: $_POST['city'][0] = "1"; $_POST['city'][1] = "3"; ;) /Dan [url=http://www.dmsproject.com/] [img]http://www.dmsproject.com/gif/sig3.gif[/img] [/url] [url=http://faq.ozoneasylum.com/FaqWiki/shownode.php?sortby=rating&id=260]{cell 260}[/url] -{ a vibration is a movement that doesn't know which way to go }-
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »