Login   Register  
PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of S. M. ARIFUL ISLAM  >  ezSL  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test script file
Class: ezSL
Suggest words to complete text inputs using AJAX
Author: By
Last change:
Date: 2007-04-10 03:49
Size: 1,565 bytes
 

Contents

Class file image Download
<html>
<head>
<?
    
require("ezSL/ezSL.cls.php");
    
$obj = new ezSL();
?>
<title>ezSL Demo</title>
<style type="text/css">
.txtStyle1{color:#FF0000}
.txtStyle2{color:#0000FF}
.style1 {
    font-size: 24px;
    font-family: Geneva, Arial, Helvetica, sans-serif;
    color: #993399;
}
</style>
</head>

<body>
<div style="border:1px #CC3399 solid; float:20px">
  <p align="center" class="style1">ezSL(Easy Suggestion List) Example</p>
  <table width="50%" border="1" align="center">
  <tr>
    <td align="center">
    <?
        $lstMsg 
'S. M. ARiFUL ISLAM <br /><a href="mailto:arif_look@yahoo.com" style="text-decoration:none; color:#000099">arif_look@yahoo.com</a>';
    
        
$QueryField="file_name";
        
$QueryTable="files";

        
/** Sysntax Definition:-  *******************************************************
        ---------------------------------------------------------------------------------
            $obj->CreateComponent(Textfield_Name, DB_Table_Name, DB-Table_Field_Name, Textfield_Size, Textfield_CSS, List_Bottom_Message);
        ********************************************************************************/
        
$obj->CreateComponent("xkey"$QueryTable$QueryField60"txtStyle1"$lstMsg);
    
?>    </td>
    </tr>
  <tr>
    <td align="center"><?
        $obj
->CreateComponent("ykey"$QueryTable$QueryField50);
    
?></td>
    </tr>
  <tr>
    <td align="center"><?
        $obj
->CreateComponent("zkey",$QueryTable$QueryField0,"txtStyle2"$lstMsg);    
    
?></td>
    </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</body>
</html>