[PHP] Re: expiring login by 5 days period

2004-07-19 Thread Jason Barnett
Louie Miranda wrote: Hello, i had been working the whole day thingking about how to expire a login? Using dates. I have with me the ff fields: 1. regdate (-MM-DD) 2. expired (1=(Yes) or 0=(No)) Can you give me some tips, how to write this on php? The problem is, i could not figure out how to

Re: [PHP] Re: expiring login by 5 days period

2004-07-19 Thread Louie Miranda
thread close. thanks again! k, i'll try to convert those ts. $reg = 2004-07-20; $end = 2004-07-21; if ($reg $end) { print ok; } else { print not ok; } -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: