Hej alle i kloge hoveder!
Er der nogle der kan se hva' pokker der galt med denne SQL
streng???
Den giver følgende fejlmeddelelse:
*****************
Der opstod en Microsoft VBScript-kørselsfejl fejl '800a01a8'
Et objekt er obligatorisk: 'Conn'
*****************
<%
strSQL = "Insert into links ("
strSQL = strSQL & "URL, "
strSQL = strSQL & "Name, "
strSQL = strSQL & "Description, "
strSQL = strSQL & "Danish, "
strSQL = strSQL & "Agemin, "
strSQL = strSQL & "Agemax, "
strSQL = strSQL & "Gender, "
strSQL = strSQL & "Interrest1, "
strSQL = strSQL & "Interrest2, "
strSQL = strSQL & "Interrest3, "
strSQL = strSQL & "Category) "
strSQL = strSQL & "values( "
strSQL = strSQL & "http://" & Request.Form("URL") & ","
strSQL = strSQL & Request.Form("name") & ","
strSQL = strSQL & Request.Form("description") & ","
strSQL = strSQL & Request.Form("danish") & ","
strSQL = strSQL & Request.Form("agemin") & ","
strSQL = strSQL & Request.Form("agemax") & ","
strSQL = strSQL & Request.Form("gender") & ","
strSQL = strSQL & Request.Form("interrest1") & ","
strSQL = strSQL & Request.Form("interrest2") & ","
strSQL = strSQL & Request.Form("interrest3") & ","
strSQL = strSQL & Request.Form("category") & ")"
Conn.Execute(strSQL)
'Lukker forbindelsen
Conn.Close
Set Conn = Nothing
%>
--
Vil du lære at kode HTML, XHTML, CSS, SSI eller ASP ???
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! =>
http://www.html.dk/tutorials