How to populate a HTML DropDown box Icon

How to populate a HTML DropDown box

Our example below uses a table 'tblFriends' in an Access database 'Friends.mdb'.

How to populate a HTML DropDown boxOverview

Our example below uses a table 'tblFriends' in an Access database 'Friends.mdb'.

Our example below uses a table 'tblFriends' in an Access database 'Friends.mdb'. The table has 3 columns, firstly an 'ID' field which is an autonumber, secondly a field called 'FirstName' which is a textfield and lastly another textfield called 'SurName'.

Our SQL statement uses the wildcard % and looks for those records where the FirstName's first letter begins with a T and populates the drop down with the records returned. If the form has not been submitted then the dropdown list will be displayed and if it is submitted then the selected option will be displayed.

If there are no records that begin with the T (i.e. If oRecordset.Eof) then the drop down Box will show "No Suitable Options" and if submitted the page will display "No suitable option was selected."

NEW

Fixed some bugs.

How to populate a HTML DropDown boxInformation

Version
N/A
Date
07.30.10
License
Free
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows
System Requirements
No additional system requirements.
IMAP Icon
Access IMAP mailboxes without PHP IMAP extension
Free
PHP Image Gallery Icon
PHP Image Gallery is a PHP based gallery script designed for easy displaying ima
Trial
IP Logger PRO Icon
IP Logger allows you to integrate your own counter tool into a website.
Paid
GC HYIP Manager Pro Icon
GC HYIP Manager Pro2 script helps you to create and manage your own Matrix
Paid
WYSIWYG HTML EDITOR Icon
This is a Script for PHP
Free
Oracle Browser Icon
A single script which will help you browse oracle objects in a schemas
Free
Contact form with Captcha Icon
PHP Contact form with image verification
PHP Melody Icon
This web application allows you to run a full-scale video website.
Paid
More