Source for file multiple.php
Documentation is available at multiple.php
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>HTML_Select demo: multi-selection</title>
<form method="get" action="#">
<label for="color">Select some colors:</label>
* Demo for HTML_Select with multiple attributes
//you do *not* need the following line!
require_once 'HTML/Select.php';
//key is used as label, value as <option value="">.
//multiselect with height of 5 lines
//preselected values are orange and red
$hs->load ($colors, array ('#FF8000', '#FF0000'));
Documentation generated on Mon, 11 Mar 2019 15:47:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|