Location: PHPKode > scripts > Simple Abstract Table > simple-abstract-table/index.php
<?php
// This page print the content and title of all rows of the news table
require_once "news.table.class.php";

echo "<html><head></head><body>";
echo "<a href=\"addnews.php\">Add news</a>";
$news=new news();
$news->load_all();
while($news->has_next()){
	echo $news->get_content()."<br>";
	echo $news->get_title()."<br><hr>";
	$news->next();
}
echo "</body>";
Return current item: Simple Abstract Table