fejlfinding. data fra DB mangler
hej eksperter..efter lidt hjælp herinde fra, henter jeg min menu(spillernavne) fra en mysql-databse.. det er i hvert fald meningen. der bliver dog ikke listet noget som helst (www.abrun.eu/superchang/) selvom jeg har indtastet et par spillere i DB
min index.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="Container">
<div id="Logo" style="position: absolute; left: 31px; top: 36px; width: 447px; height: 93px" onclick="FP_goToURL(/*href*/'index.php')">
<p align="center"><br>
</p>
<p align="center"><font face="AFCarplates" size="5">profilhelvede</font></div>
<div id="Menubg"></div>
<div id="undermenu" style="position: absolute; left: 32px; top: 171px; width: 151px; height: 562px">
<?php
echo '<table width="150" border="0" cellspacing="0" cellpadding="0">';
include ("mysql.php");
$foresp = mysql_query("select* from spillere order by shirtno");
while($data = mysql_fetch_array($foresp)){
echo "<tr><td><a href=\"template.php?id=$data[id]\">$data[navn]</a></td></tr>";
}
echo '</table>';
?>
</div>
<div id="indhold" style="position: absolute; left: 196px; top: 171px">
<?php
include("template.php");
?>
</div>
</body>
</html>
kan i se om der er noget galt? det er jo højst sandsynligt i <?php-delen?>
