<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
<html>
 
<head>
 
  <meta content="text/html; charset=ISO-8859-1"
 
 http-equiv="content-type">
 
  <title></title>
 
<?
 
//include the class
 
include ("editselect.php");
 
//instance it
 
$select=new EditSelect;
 
//call the init method; this create the style css and the core javascript
 
//the method is called only one time
 
$select->init();
 
?>
 
 
</head>
 
<body>
 
<form action="vai.php" method="POST">
 
<?
 
$select->print_select("prova","one;two;three;four;");
 
?>
 
<br>
 
<?
 
$select->print_select("due","1;2;3;4;");
 
?>
 
<input type="submit" value="OK" >
 
</form>
 
</body>
 
</html>
 
 
 |