Hvorfor virker det ikk?
Hej.. Hvorfor virker dette ikk? tror det er i mysql koden..<?php
session_start();
include('check.php');
include('connect.php');
include('menu.php');
$brugernavn = $_SESSION['brugernavn'];
$db_profil = mysql_query("select * from user where brugernavn = '$brugernavn'");
$profil = mysql_fetch_array($db_profil);
?>
<html>
<head>
</head>
<body>
<fieldset><legend title="Brugeren">
<table border="1" width="240">
<tr>
<td colspan="2" height="106">
<img border="0" src="<?php echo $profil['billed']; ?>" width="100" height="100"></td>
</tr>
<tr>
<td width="71%">Brugernavn:</td>
<td width="23%"><? echo $brugernavn ?></td>
</tr>
<tr>
<td width="71%">Navn</td>
<td width="23%"><?php echo $profil['navn']; ?> </td>
</tr>
<tr>
<td width="71%">Alder :</td>
<td width="23%"><?php echo $profil['alder']; ?></td>
</tr>
<tr>
<td width="71%">By:</td>
<td width="23%"><?php echo $profil['by']; ?></td>
</tr>
<tr>
<td width="71%">MSN</td>
<td width="23%"><?php echo $profil['msn']; ?></td>
</tr>
<tr>
<td width="71%">Email:</td>
<td width="23%"><a href="mailto:<?php echo $profil['email']; ?>"> <?php echo $profil['email'];?></a></td>
</tr>
<tr>
<td width="71%">Hjemmeside:</td>
<td width="23%"><a href="<?php echo $profil['hjemmeside']; ?>" target="_BLANK"> <?php echo $profil['hjemmeside'];?></a></td>
</tr>
<tr>
<td width="71%">Rang:</td>
<td width="23%"><?php echo $profil['rang']; ?></td>
</tr>
</table>
</fieldset></legend>
<p></p>
</body>
</html>
Den udskriver ikk noget.
