I'm a newbie with inputing into a database. Can someone help me with the script below. There is probably a few errors. Can you spot them please :)
Thanks in advance
Dim conn, rsadd, sql
Set conn=Server.CreateObject("ADODB.Connection")
conn.Open "seneca_book_db"
Set rsadd=Server.CreateObject("ADODB.RecordSet")
sql="Select * From Customers"
rsadd.Open sql, conn
rsadd.AddNew
rsadd("Custaccount")=request("T3")
rsadd("Custname")=request("T3")
rsadd("Custadd")=request("T5")
rsadd("Custcity")=request("T6")
rsadd("Custpostal")=request("T7")
rsadd("Custpassword")=request("T2")
rsadd("Custemail")=Lcase(request("T4"))
rsadd.Update
rsadd.MoveFirst
rsadd.close
Set rsadd = Nothing