HOME
|
ABOUT US
|
PRODUCTS
|
DOWNLOAD
|
HOSTING COUPON
|
TEMPLATE
|
REGISTER
| FORUM |
CONTACT
::: Member Login :::
Username
Password
Forgot your password ?
::: PHP Turtotal :::
Basics & Beginner
(3)
Date & Time
(1)
Sessions & Cookies
(1)
Counters & Logging
(2)
Databases
(0)
Email & Mailing Lists
(0)
Membership Systems
(0)
User Authentication
(0)
Security
(1)
::: PHP Example :::
Arrays
(1)
Code Highlighters (3)
Database Functions (2)
Date & Time (5)
E-Mail
(3)
Forms
(5)
Guestbooks
(1)
Logging
(1)
Miscellaneous
(2)
Password Generators (3)
Randomizers
(3)
String Manipulation (4)
User Authentication (2)
::: Download Center :::
PHP Version
Free Ebook
Online Project
::: Search On T4VN :::
Search On Tutorials
Search On Example
Search On News
::: T4VN Statistics :::
PHP Scripts : 23
PHP Example : 35
PHP Tutorials : 8
PHP News : 8
Total Coupon : 22
Other Tutorials :
Member : 50
Visits : 25926
Member Online : 5
Home
/
Arrays
Today :
Build Select Boxes from arrays
The buildSelect()function takes two arguments (one for the list, and one for options) and builds a selectbox for your form. The first array is simply the list you want to display. There are several examples within the script, so syntax shouldn't be a hassle. The second array is simply an options list. The first two elements are for adding an optional 'Title' to the beginning of the list, and whether is's selected by default. The third, and any subsequent elements of the options array, for that matter, choose which elements of the list are selected ( more than one can be applied to multiple selectboxes) on display
::: PHP Scripts :::
Auctions
(1)
Banner Exchange
(1)
Calendars
(1)
Chat Related
(0)
Classified Ads
(6)
Content Manage
(1)
Counters & Trackers
(0)
Customer Support
(1)
Games
(2)
E-Commerce
(2)
Email Related
(0)
Knowledgebase
(0)
Forum / Boards
(2)
Guestbooks
(2)
Image Galleries
(1)
Miscellaneous
(0)
Music Libraries
(2)
News Publishing
(1)
Polls and Voting
(0)
User Authentication
(0)
::: Other Tutorials :::
Powered By
T4VN.NET
- Version 2.0 - CopyRight @ T4VN.NET 2005-2006