+1 til db..
HeyHvordan +1 til et tal i min database?
Kode:
<%
If request.cookies("kleifdesign")("counter") <> "true" then
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath("/mypage/real thing/db/dbase.mdb")
Conn.Open DSN
strSQL = "Insert into counter ("
strSQL = strSQL & "ialt) "
strSQL = strSQL & "values( "
strSQL = strSQL +1 )"
Conn.Execute(strSQL)
Conn.Close
Set Conn = Nothing
End if
%>
/Bjarke - (KLEIFDESIGN)
