PHP expert |
|
Als ik je goed begrijp, zou dit misschien kunnen werken?
SELECT
*
FROM
tabel
WHERE
(
MINUTE(TIMEDIFF(NOW(), datum)) < 15 AND HOUR(TIMEDIFF(NOW(), datum)) = 0
)
AND
(
username = $username OR password = $password
)
SELECT * FROM tabel WHERE ( MINUTE(TIMEDIFF(NOW(), datum)) < 15 AND HOUR(TIMEDIFF(NOW(), datum)) = 0 ) AND ( username = $username OR password = $password )
|