HTML i asp driller!
Hvorfor bliver <h1>TESTING</h1> ikke udskrevet i min menu.asp??<!-- #INCLUDE file="db.asp" -->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="xxx.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" class="unnamed1">
<br>
<h1>TESTING</h1>
<%
dim objConn
dim objRS
set objConn = Server.CreateObject("ADODB.Connection")
set objRS = Server.CreateObject("ADODB.Recordset")
objConn.Open dbConnString
objRS.ActiveConnection = objConn
Response.Write "<b>Film:</b><br>"
objRS.Open "select * from newsposts order by postID asc"
while not objRS.EOF
Response.Write "<a href='viewnews.asp?how=newspost&postId=" & objRS("postID") & "'>"
Response.Write objRS("title") & "</a><br>"
objRS.MoveNext
wend
objRS.Close
%>
</body>
</html>
