PHP Classes

File: combo_box.example.php

Recommend this page to a friend!
  Classes of Mumi Mania  >  Combo Box  >  combo_box.example.php  >  Download  
File: combo_box.example.php
Role: Example script
Content type: text/plain
Description: example
Class: Combo Box
Generate HTML form select inputs from MySQL data
Author: By
Last change:
Date: 17 years ago
Size: 1,047 bytes
 

Contents

Class file image Download
<?php
//########################################################################################
//
// -------------- Author
// mumi - 2004
// mumi@ipko.net
//
// 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>

For more information send a message to info at phpclasses dot org.