Hier das Aktuelle Script! Es wird aber nur der 1.Datensatz geöffnet.
<?
include('config/mysql.inc.php');
$tabelle = "news";
$dbverbindung = mysql_connect ($host, $user, $password);
$dbanfrage = "SELECT * FROM $tabelle ORDER by date DESC";
$result = mysql_db_query ($dbname, $dbanfrage, $dbverbindung);
$id = $_GET['id'] + 1;
while ($ausgabe = mysql_fetch_array ($result))
{
echo ("
<SCRIPT LANGUAGE='JavaScript'><!--
var tipWin = null;
function opentip()
{
str='news_details.php?id=$ausgabe[id]';
tipWin = window.open(str,'tipWin','width=400,height=400,resizeable=no,scrollbars=yes');
window.open(str,'tipWin','width=400,height=400');
tipWin.opener = self;
}
//-->
</SCRIPT>
<table width='100%'>
<td class='text2' width='5%'>$ausgabe[tag].</td>
<td class='text2' width='15%'>$ausgabe[monat]</td>
<td class='text2' width='10%'>$ausgabe[jahr]</td>
<td class='text2' width='70%'>
<a href='javascript:opentip()'>$ausgabe[uberschrift]</a></td>
<br>
</table>
");
} mysql_close ($dbverbindung)
?>