View Single Post
  #7 (permalink)  
Old January 20th, 2005, 08:29 AM
ChrisScott ChrisScott is offline
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

You'll need to grab the value from your form post, and add it to your query...
Code:
Dim myValue: myValue = Trim(Request.Form(YourFormFieldName))
If myValue <> "" Then
    Dim myQuery: myQuery = "INSERT INTO company(adv_book_time) VALUES('" & Replace(myValue, "'", "''") & "');"
    run your query against db here...
End If
Cheers,

Chris
Reply With Quote