Den ser således ud! skal jeg fjerne alle html koder???
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../Connections/website.asp" -->
<%
Dim showwhat
Dim showwhat_numRows
Set showwhat = Server.CreateObject("ADODB.Recordset")
showwhat.ActiveConnection = MM_website_STRING
showwhat.Source = "SELECT * FROM showwhat"
showwhat.CursorType = 0
showwhat.CursorLocation = 2
showwhat.LockType = 1
showwhat.Open()
showwhat_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../style/style1.css" rel="stylesheet" type="text/css">
</head>
<body>
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& server.mappath("../database/database.mdb")
%>
<%
set rs = conn.Execute("select * from Categories")
do while not rs.eof
response.write "<a href=""menustruktur.asp?openID=" & rs("Kid") & """>" & rs("Kheadline") & "</a><br>"
if request.querystring("openID") = rs("Kid")& "" then
set rs1 = conn.Execute("select * from texts where Kkey="& rs("Kid"))
do while not rs1.eof
response.write " <a href=""menustruktur.asp?textID=" & rs1("TID") & "&openID=" & rs("Kid") & """>" & rs1("headline")&"<br>"
rs1.MoveNext
loop
end if
rs.MoveNext
loop
%>
</body>
</html>
<%
showwhat.Close()
Set showwhat = Nothing
%>