Link
Jeg er ny på php og har et (af mange) lille problem med et link hentet fra databasen - linket er html filer som ligger på sitet i en folder under Connections. $dir er foldernavnet og $link er html filen.kan nogen se fejlen eller er scriptet helt forkert.
<?php do { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="10">
<tr>
<?php
$link = $row_Recordset1['Url'];
$linkside = $dir.$link;
?>
<th width="30%" height="25" scope="col">
<A href=."$linkside".><?php echo $row_Recordset1['Url']; ?></a>
<th width="44%" scope="col"><?php echo $row_Recordset1['Tittel']; ?></th>
<th width="26%" scope="col"><?php echo $row_Recordset1['Dato']; ?>"</th>
</tr>
</table>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
?>
</div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
