asp koden "sletter" resten af html'en!
Min kode ser sådan ud:<body>
<table border="0" width="600" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><img src="../gfx/toplogo.jpg"></td>
<td align="right" id="date">
<script language=javascript>
<!--
var ugeDag = new Array ("Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag")
var maaned = new Array ("Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November ","December")
var nu = new Date
if(document.images){
ptr_home = new Image
ptr_gb = new Image
ptr_dansk = new Image
ptr_gen2 = new Image
ptr_home.src = 'images/ptr_home.gif'
ptr_gb.src = 'images/ptr_gb.gif'
ptr_dansk.src = 'images/ptr_dansk.gif'
ptr_gen2.src = 'images/ptr_gen_ver2.gif'
}
else
{
ptr_home = ""
ptr_gb = ""
ptr_dansk = ""
ptr_gen2 = ""
document.roll = ""
}
//-->
</script>
<script language=javascript>
document.write(" "+ugeDag[nu.getDay()] + " d. " + nu.getDate()+ ". "+ maaned[nu.getMonth()] + " 2003")
</script>
</td>
</tr>
</table>
<table border="0" width="600" align="center" cellpadding="0" cellspacing="0">
<tr height="1" width="100%" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
<tr>
<td><img src="../gfx/logo.jpg"></td>
</tr>
<tr height="1" width="100%" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
<tr height="3">
<td></td>
</tr>
<tr>
<td align="center" id="menu">[<font color="#FF7D00">-</font> <b>navigation</b> <font color="#FF7D00">-</font>]|[<font color="#FF7D00">-</font> <a href="../default.asp"><b>f</b>orside</a> <font color="#FF7D00">-</font> <a href="../profil/default.asp"><b>p</b>rofil</a> <font color="#FF7D00">-</font> <a href="../galleri/default.asp"><b>g</b>alleri</a> <font color="#FF7D00">-</font> <a href="../scripts/default.asp"><b>s</b>cripts</a> <font color="#FF7D00">-</font> <a href="../download/default.asp"><b>d</b>ownload</a> <font color="#FF7D00">-</font> <a href="../links/default.asp"><b>l</b>inks</a> <font color="#FF7D00">-</font> <a href="../kontakt/default.asp"><b>k</b>ontakt</a> <font color="#FF7D00">-</font> <b>g</b>æstebog <font color="#FF7D00">-</font> <a href="../administration/default.asp"><b>a</b>dministration</a> <font color="#FF7D00">-</font>]</td>
</tr>
<tr height="5">
<td></td>
</tr>
<tr height="1" width="100%" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
</table>
<table border="0" width="600" align="center" cellpadding="10" cellspacing="0">
<tr width="200">
<td><b>G</b>æstebog...<br><br></td>
</tr>
</table>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
ConnectionStreng = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath ("../../db/db.mdb")
Conn.Open ConnectionStreng
strSQL = "Select * from T_Gæstebog Order By ID Desc"
Set rs = Conn.Execute(strSQL)
IF rs.EOF then Response.Write "<table border='0' width='500' align='center' cellpadding='0' cellspacing='0'><tr><td>Der er ingen beskeder i gæstebogen!</td></tr></table>"
IF rs.EOF then Response.End
Do
strEmail = "<a href='mailto:" & rs("Email") & "'>Email</a>"
strHjemmeside = "<a href='" & rs("Hjemmeside") &"'>Hjemmeside</a>"
Respons.Write "<table border='0' width='500' cellpadding='0' cellspacing='0'><tr><td><font color='#FF7D00'>" & rs("Emne") & "</font> skrevet af <font color='#FF7D00'>" & rs("Navn") & "</font> d. " & FormatDateTime(rs("Dato"), vbLongDate) & "</td></tr><tr><td>" & rs("Besked") & "</td></tr><tr><td><font color='#FF7D00'>" & rs("Navn") & "'s</font>" & strEmail & "<font color='#FF7D00'>-</font> " & strHjemmeside & "</td></tr></table>"
rs.MoveNext
Loop While Not rs.EOF
Conn.Close
Set Conn = Nothing
%>
<table border="0" width="400" align="center" cellpadding="0" cellspacing="0">
<tr height="1" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
</table>
<form action="tilfoj.asp" method="post">
<table border="0" width="400" align="center" cellpadding="10" cellspacing="0">
<tr>
<td>Navn <font color="#FF7D00">-</font><br></td>
<td><input name="Navn" class="int"></input><br></td>
</tr>
<tr>
<td>Email <font color="#FF7D00">-</font><br></td>
<td><input name="Email" class="int"></input><br></td>
</tr>
<tr valign="top">
<td>Hjemmeside <font color="#FF7D00">-</font><br>(http:// må ikke slettes, ellers virker det ikke)</td>
<td><input name="Hjemmeside" class="int" value="http://"></input><br></td>
</tr>
<tr>
<td>Emne <font color="#FF7D00">-</font><br></td>
<td><input name="Emne" class="int"></input><br></td>
</tr>
<tr valign="top">
<td>Besked <font color="#FF7D00">-</font><br></td>
<td><textarea rows="7" cols="20" name="Besked" class="int"></textarea></td>
</tr>
<tr>
<td></td>
<td><input action="tilfoj.asp" type="submit" value="Tag it" class="knp"></td>
</tr>
</table>
</form>
<table border="0" width="600" align="center" cellpadding="0" cellspacing="0">
<tr height="5">
<td></td>
</tr>
<tr height="1" width="100%" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
<tr height="1">
<td id="c"></td>
</tr>
<tr>
<td align="center" id="c">Casper Madsen © 2003. Alle rettigheder reserveret.</td>
</tr>
<tr height="2">
<td id="c"></td>
</tr>
<tr height="1" width="100%" id="border">
<td><img src="../gfx/border.jpg"></td>
</tr>
</table>
</body>
Problemmet er dette http://www.zyreux.dk/gb/default.asp - Den sletter de sidste tabeler? Hvordan får jeg den til at vise dem?