Har ændret til request.Form i stedet: Men nu får jeg fejl i men SQL
set rs = conn.execute("INSERET INTO nsLinks (headline, desc, isWord, isGal, linkDoc, linkGal) VALUES ('"& Request.Form("txtHeadline") &"','"& Request.Form("txtDesc") &"',"& iDoc &","& iGal &",'"& Request.Form("txtDocURL") &"','"& Request.Form("txtGalURL") &"')")
Fejlen:
Error Type: ADODB.Connection.1 (0x80004005) SQLState: 4 Native Error Code: 1064 [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERET INTO nsLinks (headline, desc, isWord, isGal, linkDoc, l /test/opret.asp, line 49
# Error Type: ADODB.Connection.1 (0x80004005) SQLState: 4 Native Error Code: 1064 [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc, isWord, isGal, linkDoc, linkGal) VALUES ('nyeste1','nyest /test/opret.asp, line 52
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.