[ start | news | music | bio | blog | pics | media | shows | message board | contact ] |
||||||||||||
Message Board<% Dim dbGuestBook Dim rsGuestBook Dim rsComments Dim strSql Dim intID set dbGuestBook = GetDatabase set rsGuestBook = Server.CreateObject("ADODB.Recordset") strSql = "SELECT * From GuestBook ORDER BY Datum DESC" rsGuestBook.Open strSql,dbGuestBook if not rsGuestBook.EOF then while not rsGuestBook.EOF %>
<% rsGuestBook.MoveNext wend else Response.Write "Inget här." end if ' dbGuestBook.Close set dbGuestBook = nothing set rsGuestBook = nothing %> |
||||||||||||