|
|
|
|
|
<?
/* formDropDown - create an HTML <SELECT>
* vars: $name - the form variable NAME
* $value - the SELECTED option
* $labels - assoc. array, list of values=>labels
* returns: string, HTML (i.e. for use in echo or print statement)
*/
function formDropDown($name,$value,$labels) {
$html = "<SELECT NAME=\"$name\">\n";
$key = key($labels);
while($key != "") {
if ($key == $value) {
$selected = "SELECTED";
} else {
$selected = "";
}
$html .= "<OPTION VALUE=\"$key\" $selected>$labels[$key]\n";
next($labels);
$key = key($labels);
}
$html .= "</SELECT>\n";
return $html;
}
?> |
|
| Parses HTTP_USER_AGENT so that you can customize your site to different browsers Categories : HTML, PHP, Complete Programs | | | Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | Builds JavaScript that updates the contents of one selector based on another. Categories : HTML, Java Script, PHP, Complete Programs, General | | | REALTIME SHIPPING QUOTE Categories : Complete Programs, Ecommerce, PHP | | | The first step Guest Book ... ^^ Categories : MySQL, PHP, Apache, HTML, HTTP | | | ASCII To HTML Converter Categories : PHP, HTML, ASCII | | | Monitor the files you provide for download! Track who downloads your
files, and when. Categories : PHP, Complete Programs, Utilities | | | Education Center is a set of PHP-scripts to administer a corporate education and examination system via Internet/intranet written in PHP for MySQL.
Categories : PHP, Databases, MySQL, Complete Programs | | | bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager Categories : MySQL, PHP, MySQL, Complete Programs, Databases | | | myCSV-dump converts a simple CSV-flatfile-database into an MySQL-dump. Categories : PHP, MySQL, Databases, Complete Programs | | | PHPRecommend v1.0 - Recommend this page to a friend script written in PHP. Easy to install Categories : PHP, URLs, Complete Programs, Email, Site Planning | | | phpWebCam v1.0- Webcam management software - Automatically checks if you're online, and comes with a caption tool capable of handling multiple users. Categories : PHP, Complete Programs, HTML and PHP | | | ANTI leech script, use this if you want that people can't
see the original URL. The files can be on your own server
or on another server. Categories : HTML, Misc, PHP | | | phpAddQuote v1.2 - UPDATED! Lets users add their own quotes to
your website. You specify how many quotes appear on the page at a
time. Easier install! Categories : HTML and PHP, Complete Programs, PHP, Databases, Personalization and Membership | | | AITSH Download Categories : PHP, Complete Programs, MySQL, Databases | |
| |
| |
|