<% If Request("submitted") = "yes" Then
set cnnDB = Server.CreateObject("ADODB.Connection")
set rs = Server.CreateObject("ADODB.Recordset")
cnnDB.Open strConn
rs.Open "Recipes", cnnDb, 3, 3
rs.AddNew
rs("RecipeName") = Request("RecipeName")
rs("Brief") = Request("Brief")
rs("Recipe") = Request("Recipe")
rs("LastModified") = Now()
rs.Update
rs.Close
set rs = Nothing
cnnDB.CLose
set cnnDB = Nothing
%>
Recipe Submitted
thanks for the recipe! i will definitely check that jimsen out...
<% Else %>
Add a recipe
got a recipe you think i should try? just fill out the form below! if i like that puppy, i will post the
chumpy jaunx on the site! rock the house.
<%
End if
%>
|