This script handles a form with a text area (Memo) and a text field (Email)
I know they are there I can see them in my header.
Response.Write... Blank! What stupid little thing am I missing?
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
Memo=Request.QueryString("Memo")
Email=Request.QueryString("Email")
Response.Write(Memo)
Response.Write(Email)
Set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open Server.MapPath("/Data/WebData.mdb")
SQL="Insert Into Memos Values (Now(),'"&Memo&"','"&Email&"')"
Response.Write(SQL)
'conn.Execute SQL
conn.close
Set conn=nothing
%>
<html>
<head>
</head>
<body>
<style type="text/css">
<!--
body {
background-image: url(/images/Santa%20Fe%20Stucco.bmp);
}
-->
</style>
<p> </p>
<h2 align="center">Your note has been sent, Thank you! </h2>
</body>
nyef, you are my God! OK, not really, but you deserve my undying gratitude. I knew it would be something stupidly simple, but so many looked right past it just like me!