Edit Php File Code 11.07.08
I have coupon file that I’m having trouble getting to function.
EVERYTHING WORKS BUT
(members=’New’ AND time<=’”.strtotime($joindate).”‘)
the time in the database table ‘time’ is stored as INT or 1215792518
the joindate is stored in the database as DATE or 2008-07-11
Here is the theory: If the coupon ‘time’ is than or equal to the ‘joindate’ then post to members account. So for instance if I created the coupon on 2008-07-11 then people that joined on 2008-07-11 or after would be able to use the coupon. Anyone thats joindate is before 2008-07-11 would not be able to use the coupon.
File is attached.



