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');
dbserver,dbpass);res = mysql_db_query($dbname, num = mysql_num_rows($res);
echo "<b>Es gibt $num Gamez in der Game Sektion von Voodoo-Donkey.de </b><br>";
for(i<i++)
{
res, 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<i++)
{
res, sprache = mysql_result($res, id = mysql_result($res, typ = mysql_result($res, i, "typ"); { echo "</TR>
</table>";
//echo "<a href='details.php?ID=$i, $name' target='_blank'>Name nummer $i</a> 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');
dbserver,dbpass);res = mysql_db_query($dbname, num = mysql_num_rows($res);
echo "<b>Es gibt $num Gamez in der Game Sektion von Voodoo-Donkey.de </b><br>";
for(i<i++)
{
res, 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<i++)
{
res, sprache = mysql_result($res, id = mysql_result($res, typ = mysql_result($res, i, "typ"); { echo "</TR>
</table>";
//echo "<a href='details.php?ID=$i, $name' target='_blank'>Name nummer $i</a> 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**