if(!isset($_GET["action"])){
$_POST["tags"]="tags";
echo "LAST 10 ENTRIES";
getlast(0,10);
} else {
switch($_GET["action"]){
case "search":
echo "suche nach ".$_POST["tags"]."!
";
search($_POST["tags"]);
break;
}
}
?>
error_reporting(E_ALL); ini_set('display_errors', '1'); include_once "includes/db.php"; include_once "includes/functions.php"; ?>