![]() |
![]() |
||||||
|
|||||||
| Tags: correctly, express, would |
![]() |
|
|||
|
.oO(jsteinmann)
>i'm trying to read between the lines and I understand your theory, but I'm not >having much luck with implementing it. > > for example: > > elseif ($row_rs['loggedinip'] != $_SERVER['REMOTE_ADDR'] AND time() < >date('Y-m-d',strtotime($row_rs['lastlogin']+120 minutes) { > > this doesn't work. The datetime is stored in the database as Y-m-d H:i:s Try time() < strtotime($row_rs['lastlogin'])+7200 or time() < strtotime('+120 minutes', $row_rs['lastlogin']) Micha |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise