session_start(); $show = $_GET['show']; function mininews() { require "./include/config.php" ; $dbase = @MYSQL_CONNECT($host,$user,$pass) or die ("Konnte keine Verbindung zur Datenbank herstellen"); $db_check = @MYSQL_SELECT_DB($db); $anzahl = 4; $result = mysql_query("SELECT * FROM derockpage_news ORDER BY id DESC LIMIT $anzahl"); $i = 1; while ($row = mysql_fetch_array($result)) { $text = substr($row['text'], 0, 120); echo "
|