Martin F.: PHP und Javascript verstehen sich nicht so ganz!

Beitrag lesen

Hello so gehts leider a ned.
Da kommt nix zum vorschein!

<SCRIPT LANGUAGE='JavaScript'>
<?
include('config/mysql.inc.php');
$tabelle = "filme";

$dbverbindung = mysql_connect ($host, $user, $password);
$dbanfrage = "SELECT * FROM $tabelle ORDER by art";
$result = mysql_db_query ($dbname, $dbanfrage, $dbverbindung);
$id = $_GET['id'] + 1;

while ($ausgabe = mysql_fetch_array ($result))

{
echo ("

<!--

var tipWin = null;

function opentip()
{
        str='video-details.php?id=$ausgabe[id]';
        tipWin = window.open(str,'tipWin','width=400,height=250,resizeable=no,scrollbars=no');
        window.open(str,'tipWin','width=400,height=250');
        tipWin.opener = self;
}
//-->

<table id='headline' cellSpacing='0' cellPadding='0' width='100%' border='0'>
                      <tr>
 <td>$ausgabe[jahr] - $ausgabe[monat] = $ausgabe[filename]</b> [<a href='javascript:opentip()'><font color='#a3310b'>Video sehen..</font></a>]
 </tr>
 </table>

");
}
mysql_close ($dbverbindung)

?>
</table>
</SCRIPT>