11 lines
278 B
PHP
Executable File
11 lines
278 B
PHP
Executable File
<?php
|
|
include_once("lib/articles.php");
|
|
|
|
$articles = getArticles();
|
|
$content = "";
|
|
|
|
foreach($articles as $article){
|
|
$content .= "<article><h1><a href=\"?page=article&ID=".$article["ID"]."\">".$article["title"]."</a></h1><p>".$article["description"]."</p></article><hr/>";
|
|
}
|
|
?>
|