Example #1
0
 *      MA 02110-1301, USA.
 */
!-->
	<head>
		<meta charset="utf-8">
	</head>

	<body>

		<?php 
$root = substr($_SERVER['DOCUMENT_ROOT'], 0, -1);
require_once "{$root}/Class/Database.php";
echo "Debug => Test Class Page <br />";
$d = new Database("localhost", "gestore", "polipo", "gestione");
$d->GetRows("*", "tab_utenti", "", "", "1 limit 10", 1);
$d->DrawControl("text", "prova", "controllo di prova");
//~ $d->ReportHeader = "th,Data:,left|th,User:|th,Tipo:|th,Ip:|th,Action:";
//~ $d->ReportFields = "td,data|td,user|td,tipo|td,ip|td,action";
?>

		<form method="post" action="<?php 
echo $_SERVER['REQUEST_URI'];
?>
">
			<table style="width: 100%;" class="dettaglio">
				<?php 
//$d->DrawReport();
?>
			</table>
		</form>