JLRodgers Level: Moderator
 Registered: 04-04-2002 Posts: 1664
|
Re: Which person isn't subscriber in this month?
Given how your database is setup, it'd actually be easier (and a lot clearer to understand, with less overhead) if you used dates instead of 1, 2, 3, etc. Or even just have a "subscriber for month" field only (as 'from 1 to 2' would be the same as 'subscriber in month 1')
If you just used one field with a subscriber or date fields, you'd only need one row per user, and it'd make queries much easier for everything (not subscriber this month ex: "select * fom tbl where subscription_month < cur_month")
[Edited by JLRodgers on 06-01-2009 at 03:22 PM GMT]
____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)
|