WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   ASP und MySQL (Hilfe wird benötigt) (http://www.wcm.at/forum/showthread.php?t=118299)

Nightman 10.12.2003 14:22

ASP und MySQL (Hilfe wird benötigt)
 
hi an alle

also ich ahbe einen tabelle mir dem namen "whoisonline"

und will einen delete befehl schreiben der mir alle einträge rauchlösche was länger als 5 min her is

BesucherLastAction (DateTime)

strSQLwhoisonline = "DELETE FROM whoisonline WHERE BesucherLastAction < "

und hier häng ich

ich müsste da aber reinschreinen now()-5 min oder so

Bitte um hilfe

moorhahn 10.12.2003 15:20

die funktion datediff wird da wohl notwendig, siehe da: http://www.drdev.net/article05.asp

Nightman 10.12.2003 15:25

hrhr ja genau

hab es aber schon gelöst


Alle Zeitangaben in WEZ +2. Es ist jetzt 13:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag