% dbpath = server.mappath("dimebag.mdb") Set messagedb = Server.CreateObject("ADODB.Connection") messagedb.Open = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & dbpath & ";" if Request.Form("name") <> "" then msgName = Request.Form("name") msgCountry = Request.Form("country") msgComment = Request.Form("comment") strSQL = "INSERT INTO tblMessages (messageName, messageCountry, messageBody) VALUES ('" strSQL = strSQL & msgName & "', '" & msgCountry & "', '" & msgComment & "')" messageDB.execute(strSQL) end if %>
![]() |
|
Fan Testimonials |
|
<% =messages("messageName")%> | <% =messages("messageCountry")%> <% =messages("messageBody")%> |
|
Add your comment Sorry, we no longer take comments. Take a few minutes out to read some of the great posts above... |