[PHP] Re: syntax for date math expressions

2002-04-03 Thread Maxim Maletsky
first of all your data seems to come from a DB to me. If it's so then read your DB manual for date functions. It would be way better and faster. Otherwise, if you're so keen to let this duty job up to PHP then convert both dates into UNIX time format 'maketime()' deduct the values and put

[PHP] Re: syntax for date math expressions

2002-04-03 Thread ROBERT MCPEAK
Okay, I've got 2 tables. One has fields user, exp_date, the other has a bunch of fields including user. If the exp_date from the first table is greater than $somedate (probably today's date), then I don't want to show the records from the 2nd table. Get it? So how do I do this? It doesn't

RE: [PHP] Re: syntax for date math expressions

2002-04-03 Thread Rick Emery
: [EMAIL PROTECTED] Subject: [PHP] Re: syntax for date math expressions Okay, I've got 2 tables. One has fields user, exp_date, the other has a bunch of fields including user. If the exp_date from the first table is greater than $somedate (probably today's date), then I don't want to show