java script in php



  • hi,
    hab folgendes problem und zwar will nich java script (pop up) in meinem php code funtzten...
    hier der gekürzte code:

    <html>
    <head><title>Gamez Sektion http://voodoo-donkey.de</title>
    <style type="text/css">
    a:link { font-weight:bold; color:#000000; text-decoration:none }
    a:visited { font-weight:bold; color:#000000; text-decoration:none }
    a:hover { font-weight:bold; color:#000000; text-decoration:none }
    a:active { font-weight:bold; color:#000000; text-decoration:underline }
    a:focus { font-weight:bold; color:#000000; text-decoration:underline }

    BODY {
    scrollbar-base-color: #7098B8;
    scrollbar-track-color: #7098B8;
    scrollbar-face-color: #7098B8;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #000000;
    scrollbar-darkshadow-color: #000000;
    scrollbar-shadow-color: #7098B8;
    scrollbar-arrow-color: #000000;
    }
    </style>

    <script language="JavaScript">
    <!--
    function PopUp(url)
    {
    window.open(url,´title´,´height=,width=,dependent=yes,location=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes´)
    }
    //-->
    </script>

    </head>
    <body>
    <body bgcolor="#7098B8" text="#000000">

    <?php

    include('var.inc.php');
    db=mysqlconnect(db = mysql_connect(dbserver,dbuser,dbuser,dbpass);

    sqlab="selectid,volumen,name,typfromGamezWHERE1GROUPBYname,id";sqlab = "select id, volumen, name, typ from Gamez WHERE 1 GROUP BY name, id"; res = mysql_db_query($dbname, sqlab);sqlab); num = mysql_num_rows($res);

    echo "<b>Es gibt $num Gamez in der Game Sektion von Voodoo-Donkey.de </b><br>";

    for(i=0;i=0;i<num;num;i++)
    {
    volumen=mysqlresult(volumen = mysql_result(res, i,"volumen");i, "volumen"); Ergebnis+=$volumen;
    }
    echo "<b>Gesamtgröße aller Gamez: $Ergebnis MB</b><p>";

    echo "<div align='center'>
    <TABLE ID='Tabelle1' BORDER=0 BGCOLOR='#7098B8' CELLSPACING=1 CELLPADDING=1 WIDTH='100%'>
    <TR>
    <TD WIDTH=300 BGCOLOR='#5078A0'>
    <P ALIGN=CENTER><b><FONT SIZE='2' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>A-Z</FONT></b></P>
    </TD>
    <TD WIDTH=125 BGCOLOR='#5078A0'>
    <P ALIGN=CENTER><b><FONT SIZE='2' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>Sprache</FONT></b></P>
    </TD>
    </table>";

    for(i=0;i=0;i<num;num;i++)
    {
    name=mysqlresult(name = mysql_result(res, i,"name");i, "name"); sprache = mysql_result($res, i,"sprache");i, "sprache"); id = mysql_result($res, i,"id");i, "id"); typ = mysql_result($res, i, "typ"); { echo "

    name</a> </b></P>
    </TD>
    <TD WIDTH=125 BGCOLOR='#7098B8'>
    <P ALIGN=CENTER><FONT SIZE='-1' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>$sprache</FONT></P>

    </TR>
    </table>";
    //echo "<a href='details.php?ID=$i, $name' target='_blank'>Name nummer $i</a> name<p>";//<ahref="details.php?Id=name <p>"; //<a href="details.php?Id=id&Sprache=Sprache&Link=link"></a> etc.

    }
    }

    mysql_close($db);
    ?>

    <FONT SIZE='1' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>Copyright by PhilXYLON 2002</FONT>
    </body>
    </html>

    kann mir jemand sagenwieso das net funtzt?

    BIG THX
    Phil



  • nimm mal keine akzents nach links `
    sondern richtige einfache hochkommas



  • <html>
    <head><title>Gamez Sektion http://voodoo-donkey.de</title>
    <style type="text/css">
    a:link { font-weight:bold; color:#000000; text-decoration:none }
    a:visited { font-weight:bold; color:#000000; text-decoration:none }
    a:hover { font-weight:bold; color:#000000; text-decoration:none }
    a:active { font-weight:bold; color:#000000; text-decoration:underline }
    a:focus { font-weight:bold; color:#000000; text-decoration:underline }

    BODY {
    scrollbar-base-color: #7098B8;
    scrollbar-track-color: #7098B8;
    scrollbar-face-color: #7098B8;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #000000;
    scrollbar-darkshadow-color: #000000;
    scrollbar-shadow-color: #7098B8;
    scrollbar-arrow-color: #000000;
    }
    </style>

    <script language="JavaScript">
    <!--
    function PopUp(url)
    {
    window.open(url,´title´,´height=,width=,dependent=yes,location=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes´)
    }
    //-->
    </script>

    </head>
    <body>
    <body bgcolor="#7098B8" text="#000000">

    <?php

    include('var.inc.php');
    db=mysqlconnect(db = mysql_connect(dbserver,dbuser,dbuser,dbpass);

    sqlab="selectid,volumen,name,typfromGamezWHERE1GROUPBYname,id";sqlab = "select id, volumen, name, typ from Gamez WHERE 1 GROUP BY name, id"; res = mysql_db_query($dbname, sqlab);sqlab); num = mysql_num_rows($res);

    echo "<b>Es gibt $num Gamez in der Game Sektion von Voodoo-Donkey.de </b><br>";

    for(i=0;i=0;i<num;num;i++)
    {
    volumen=mysqlresult(volumen = mysql_result(res, i,"volumen");i, "volumen"); Ergebnis+=$volumen;
    }
    echo "<b>Gesamtgröße aller Gamez: $Ergebnis MB</b><p>";

    echo "<div align='center'>
    <TABLE ID='Tabelle1' BORDER=0 BGCOLOR='#7098B8' CELLSPACING=1 CELLPADDING=1 WIDTH='100%'>
    <TR>
    <TD WIDTH=300 BGCOLOR='#5078A0'>
    <P ALIGN=CENTER><b><FONT SIZE='2' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>A-Z</FONT></b></P>
    </TD>
    <TD WIDTH=125 BGCOLOR='#5078A0'>
    <P ALIGN=CENTER><b><FONT SIZE='2' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>Sprache</FONT></b></P>
    </TD>
    </table>";

    for(i=0;i=0;i<num;num;i++)
    {
    name=mysqlresult(name = mysql_result(res, i,"name");i, "name"); sprache = mysql_result($res, i,"sprache");i, "sprache"); id = mysql_result($res, i,"id");i, "id"); typ = mysql_result($res, i, "typ"); { echo "

    name</a> </b></P>
    </TD>
    <TD WIDTH=125 BGCOLOR='#7098B8'>
    <P ALIGN=CENTER><FONT SIZE='-1' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>$sprache</FONT></P>

    </TR>
    </table>";
    //echo "<a href='details.php?ID=$i, $name' target='_blank'>Name nummer $i</a> name<p>";//<ahref="details.php?Id=name <p>"; //<a href="details.php?Id=id&Sprache=Sprache&Link=link"></a> etc.

    }
    }

    mysql_close($db);
    ?>

    <FONT SIZE='1' FACE='Verdana,Tahoma,Arial,Helvetica,sans-serif'>Copyright by PhilXYLON 2002</FONT>
    </body>
    </html>

    damit gehts leider auch nicht 😞



  • hab vergessen, jetzt geht er zur der adresse:

    http://case-freakz.de/'java\1:PopUp('details.php?ID=10&name=Crazy

    **aber im gleichen browser und öfnet keine seite... kommt nur der fehler wenn man nich online ist oder so...

    Phil**


  • Anmelden zum Antworten