<% Dim sCountry, sState, selCountry, txtState, txtFName, txtLName, txtEmail, txtCity, txtAddress1, txtAddress2, txtZip, goFrm, sSQL, sProcessed Dim sInserted sInserted = "NO" selCountry = Request.Form("country") txtFName = Request.Form("txtFirstName") txtLName = Request.Form("txtLastName") txtEmail = Request.Form("txtEmail") txtCity = Request.Form("txtCity") txtState = Request.Form("txtState") txtAddress1 = Request.Form("txtAddress1") txtAddress2 = Request.Form("txtAddress2") txtZip = Request.Form("txtZip") goFrm = Request.Form("goFrm") sProcessed = false If goFrm = "Submit" Then InsertCustomer selCountry = "" txtFName = "" txtLName = "" txtEmail = "" txtCity = "" txtState = "" txtAddress1 = "" txtAddress2 = "" txtZip = "" sProcessed = true End If If selCountry = "" then selCountry = "USA" End If SetCountry SetState Sub InsertCustomer() Set cnTip = Server.CreateObject( "ADODB.Connection" ) cnTip.Open getDBString() sSQL = "" sSQL = "INSERT INTO Customer ( FirstName, LastName, Email, Contry, State, City, Address1, Address2, Zip, SiteId ) VALUES ('" & Replace(txtFName,"'","''") & "', '" & _ Replace(Trim(txtLName),"'","") & "', '" & Trim(txtEmail) & "', '" & selCountry & "', '" & Trim(txtState) & "', '" & _ Replace(Trim(txtCity),"'","''") & "', '" & Replace(Trim(txtAddress1),"'","''") & "', '" & Replace(Trim(txtAddress2),"'","''") & _ "', '" & trim(txtZip) & "',3)" & vbCrLf cnTip.Execute(sSQL) cnTip.Close Set rsTip = Nothing Set sSql = Nothing Set cnTip = Nothing sInserted="YES" End Sub %> Cirrus Casino British Pounds
<%End If%>
<%Else%>
<%If sInserted="NO" THEN %>
First Name
Last Name
Email Address
Address
City
Zip
State or Province
Country :




Thank you for the FREECD order.

Your order will be processed in 3 - 5 working days.