Location: PHPKode > scripts > Combo Box > combo-box/combo_box.example.php
<?php
//########################################################################################
//
// -------------- Author
// mumi - 2004
// hide@address.com
//
// Have fun !!!
//
//########################################################################################
require_once("./combo_box.php");
$CB_name 				= "name";	// 	Name of Combo Box
$CB_table_name 	= "qyteti";	//	Name of mysql table
$CB_order_by 		= "qyteti_name";	//	Ordering (optional)
$CB_asc_desc 		= "asc";	//	Ascending/Descending (optional)
$CB_style		 		= "Combo_Box_CSS";	//	Css Style Sheets (optional)
$CB_id_value 		= "";	//	Post 'id' to be selected (optional)
?>
<HTML>
<HEAD>
<TITLE>Combo Box by mumi</TITLE>
<STYLE TYPE="text/css">
.Combo_Box_CSS {
   font-family:'futura','trebuchet ms',helvetica,sans-serif,arial;
   font-size:14px;
   color:#666699;
   background-color:#E1E1E1;
}
</STYLE>
</HEAD>
<BODY>
<?php 
$ComboBox = new Combo_Box($CB_name,$CB_table_name,$CB_order_by,$CB_asc_desc,$CB_style,$CB_id_value)
?>
</BODY>
</HTML>
Return current item: Combo Box