Hvorfor udskrives tekst 2 gange?
Jeg henter nogel variable ind via request.form, og de sættes i samme tekstfelt her:strTitel = Trim(Replace(Request.Form("titel"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("forfatter"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("sider"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("udgivelse"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("udgave"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("isbn"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("model"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("automat"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("aargang"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("farve"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("km"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("alarm"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("faelge"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("central"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("traek"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("startsp"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("asb"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("airbag"),"'",""))
strTitel = strTitel + Trim(Replace(Request.Form("tekst"),"'",""))
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open ConString
Conn.execute("INSERT INTO mad (tekst) VALUES ('"&strTitel&"')")
Og det virker fint, men Request.Form("tekst") skrives 2 gange - hvorfor???
