%
Function padMyNumber(value)
padMyNumber = Right("00" & value,2)
End Function
if (Request.form("hdnSubmit") = "true") then
strEmail = trim(Request.Form("txtemail"))
strMember = trim(request.form("txtName"))
strComment = replace(Request.form("txtPledge"),"'" ,"''")
strdate = Month(date()) & "/" & Day(date()) & "/" & Year(date()) & " " & Hour(now) & ":" & Minute(now) & ":" & Second(now)
eSqlQuery="INSERT INTO guestbook(gname,email,comment,gdate) VALUES ('"& strMember &"','"& strEmail &"','"& strComment &"','"&strdate&"' )"
set rsUser = dbconn.execute(eSqlQuery)
set rsUser = nothing
SqlQuery="INSERT INTO guestbook_backup(gname,email,comment,gdate) VALUES ('"& strMember &"','"& strEmail &"','"& strComment &"','"&strdate&"' )"
set rsUser1 = dbconn.execute(SqlQuery)
set rsUser1 = nothing
session("sent") ="yes"
session("fed") ="yes"
response.Redirect("healthpledge.asp?nothing")
end if
%>
::welcome to meveg festivel::