Peter Brodersen wrote:
> SELECT * FROM users WHERE Action > NOW() - INTERVAL 5 MINUTE;
Syntax fejl...
[MySQL][ODBC 3.51 Driver][mysqld-4.0.18-log]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 'WHERE Action > NOW() -
INTERVAL 5 MINUTE' at line 1
Jeg bruger helt præcist denne sætning:
Select username, Action From users Order By Action Desc WHERE Action >
NOW() - INTERVAL 5 MINUTE
--
Pfh tak & mvh. Mathias
http://www.vitoo.dk/ - alle tiders community site
http://www.vrx.net/usenet/history/rename/ - lidt om usenet
123456789012345678901234567890123456789012345678901234567890123456789012