Location: PHPKode > scripts > ezSL > ezsl/test.php
<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:hide@address.com" style="text-decoration:none; color:#000099">hide@address.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, $QueryField, 60, "txtStyle1", $lstMsg);
	?>	</td>
    </tr>
  <tr>
    <td align="center"><?
		$obj->CreateComponent("ykey", $QueryTable, $QueryField, 50);
	?></td>
    </tr>
  <tr>
    <td align="center"><?
		$obj->CreateComponent("zkey",$QueryTable, $QueryField, 0,"txtStyle2", $lstMsg);	
	?></td>
    </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</body>
</html>
Return current item: ezSL