Jag vet inte om jag frågar i rätt forum, men jag testar!
Det är nämligen så att jag inte får detta att funka, man ska kunna klicka på skribentens namn och få upp en ruta med information om honom/henne. Men det funkar inte, varför?
<html>
<head>
<title>xxxx</title>
<link rel="stylesheet" href="css/hype-css.css">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body topmargin="0" leftmargin="0">
<!--# 00.00 #-->
<table border="0" bgcolor="#000000" width="800px" height="100%" cellspacing="0" cellpadding="1" cellborder="0" align="center">
<tr>
<td>
<!--# 01.01 #-->
<table border="0" bgcolor="#E6E6E6" width="800px" height="100%" cellspacing="0" cellpadding="0" cellborder="0" align="center">
<tr>
<td bgcolor="#D9D9D9" height="69px" background="gfx/xxxx_bg_top.gif" colspan="2">
<?php
include("includes/top2.php");
?>
</td>
</tr>
<tr>
<td bgcolor="#D9D9D9" background="gfx/xxxx_bg_left.gif" width="152px" valign="top" name="Meny">
<?php
include("includes/menu.php");
?>
<br>
<?php
include("includes/banner.php");
?>
</td>
<td bgcolor="#E6E6E6" width="648px" valign="top">
<!--# 02.01 #-->
<table border="0" bgcolor="#E6E6E6" background="gfx/xxxx_bg_center.gif" width="648px" height="100%" cellspacing="0" cellpadding="0" cellborder="0">
<tr>
<td width="648px" height="10%" colspan="2" valign="top">
<!--# 03.01 #-->
<table border="0" bgcolor="#A89595" width="100%" cellspacing="0" cellpadding="0" cellborder="0">
<tr>
<td width="648px" height="19px" background="gfx/xxxx_aktuellt.gif">
</td>
</tr>
<tr>
<td>
<!--# 04.01 #-->
<table border="0" bgcolor="#A89595" width="100%" cellspacing="3" cellpadding="0" cellborder="0">
<tr>
<td valign="top" name="Aktuellt">
<?php
include("includes/aktuellt.php");
?>
</td>
</tr>
</table>
<!--# /04.01 #-->
</td>
</tr>
</table>
<!--# /03.01 #-->
</td>
</tr>
<tr>
<td width="324px" height="20px" background="gfx/xxxx_profilen2.gif" valign="top">
</td>
<td width="324px" height="20px" background="gfx/xxxx_snabbfakta.gif" valign="top">
</td>
</tr>
<tr>
<td width="324px" valign="top">
<!--# 04.02 #-->
<table border="0" bgcolor="" width="324px" cellspacing="5" cellpadding="0" cellborder="0">
<tr>
<td valign="top" width="324px" name="Profilen">
<br>
<?php
global $artist,$plats,$datum2,$namn,$datum,$score,$text,$kort,$bild;
mysql_connect( "xxxx", "xxxx", "xxxx") or die( "Kunde inte ansluta till databasen, var god försök igen, fungerar det inte då heller maila xxxx, uppge con db!");
mysql_select_db("xxxx") or die( "Kunde inte ansluta till databasen, var god försök igen, fungerar det inte då heller maila xxxx, uppge sel db!");
$hamta = mysql_db_query( "xxxx","SELECT * FROM xxxx WHERE iid=$iid");
while($info = mysql_fetch_array($hamta))
{
$artist=$info["artist"];
$skiva=$info["skiva"];
$namn=$info["namn"];
$datum=$info["datum"];
$score=$info["score"];
$text=$info["text"];
$kort=$info["kort"];
$bild=$info["bild"];
$lat1=$info["lat1"];
$lat2=$info["lat2"];
$lat3=$info["lat3"];
$lat4=$info["lat4"];
$lat5=$info["lat5"];
$lat6=$info["lat6"];
$favorit=$info["favorit"];
echo("<b>Artist:</b>:");
echo("$artist");
echo("<br>");
echo("<b>Skiva:</b>");
echo("$skiva");
echo("<br>");
echo("<b>Recenserat datum:</b>");
echo("$datum");
echo("<br>");
echo("<br>");
echo("$text");
echo("<br>");
echo("<b>Betyg:</b>");
echo("$score");
echo("<br>");
echo("<br>");
}
echo("<b>Recensent:</b>");
?>
<a href="#" onClick="MM_openBrWindow('info.php?namn=<? echo("$namn"); ?>','Information','width=400,height=400')">
<?php
echo("$namn");
echo("</a>");
?>
</a>
<br><br>
<a href="javascript:history.back(1)">Tillbaka</a>
</td>
</tr>
</table>
<!--# /04.02 #-->
</td>
<td width="324px" valign="top">
<!--# 04.04 #-->
<table border="0" bgcolor="" width="324px" cellspacing="5" cellpadding="0" cellborder="0">
<tr>
<td width="324px" name="Profilen">
<br>
<center>
<?php
echo("<span class=topic><b>$artist;</b></span>");
echo("<br><br>");
echo("<img src=xxxx/gfx/rec/$bild>");
echo("<br><br>");
("</center>");
echo("<b>Låtlista:</b>");
echo("<br>");
echo("$lat1");
echo("$lat2");
echo("$lat3");
echo("$lat4");
echo("$lat5");
echo("$lat6");
echo("<br>");
echo("<b>Favorit:</b>");
echo("<br>");
echo("$favorit");
?>
</tr>
</table>
<!--# /04.04 #-->
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>
<!--# /02.01 #-->
</td>
</tr>
</table>
<!--# /01.01 #-->
</td>
</tr>
</table>
<!--# /00.00 #-->
<?php
include("includes/c.php");
?>
</body>
</html>