webForumDet fria alternativet

Korkar update fel?!

2 svar · 170 visningar · startad av ConnyFox

ConnyFoxMedlem sedan aug. 20011 087 inlägg
#1

hmm får fel på detta o vet inte varför..

mysql = "update ip set ipantal = ipantal + 1 set ipdatum = '" & now & "' where ip = '" & ip & "'"

Felmeddelande :

Feltyp:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MySQL][ODBC 3.51 Driver][mysqld-4.0.14-nt]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 'set ipdatum = '2003-09-10 00:26:14' where ip = '127.0.0.1'' at 
/mysql/top.asp, line 58

Webbläsare:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2) 

Sida:
POST 47 bytes to /mysql/top.asp
LarsGMedlem sedan dec. 200012 464 inlägg
#2
mysql = "update ip set ipantal = ipantal + 1, ipdatum = '" & now & "' where ip = '" & ip & "'"

Flyttas från ASP

ConnyFoxMedlem sedan aug. 20011 087 inlägg
#3

jasså det e så d funkar! tack

120 ms totalt · 3 externa anrop · v20260731065814-full.3ab8d573
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
117 ms — hämta tråd, inlägg och bilagor (db)