Location: PHPKode > scripts > DBX Parser > index.php
<?php
include "dbx.class.php";

$dbx = new DBX ( "test.dbx" );

$messages = $dbx -> DBXParse ( );

$i = 0;
$n = 1;
foreach ( $messages as $message ) {
	echo "<a href=\"view.php?item=".($i++)."\">Message ".($n++)."</a><br>";
}

?>
Return current item: DBX Parser