%@Language = "VBScript"%> <% 'create db connection Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "Data Source=" & Server.MapPath("cgi-bin/jensen.mdb") &";Provider=Microsoft.Jet.OLEDB.4.0;" %> <% SQL = "SELECT * FROM Guestbook WHERE Approved = 'yes' ORDER BY DateEntered desc" Set RS = Conn.Execute(SQL) status = Request.QueryString("status") on error resume next %>
![]() |
|||
|
|
Guestbook<% if status = "OK" then%>Thank you for signing my guestbook. Your entry will appear after it has been approved. <%elseif status = "Remove" then%>Your entry is not allowed. <%end if%>Please sign my guestbook and let me know you stopped by. To read entries, click here.
Guestbook<%if not RS.EOF then%>
There are no guestbook entries at this time. <%end if%> |
||