Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrea Bersi  >  Editable select input  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example
Class: Editable select input
Generate form select input with editable text
Author: By
Last change:
Date: 2006-03-25 01:18
Size: 646 bytes
 

Contents

Class file image Download
<!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>