I'm guessing you still want to retain all information... because you could just simply clear the limited_spots field every Monday? Not a good idea.
I'm thinking maybe you need a what_week_are_we_in field. That would probably work.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Not sure what everyone else thinks but perhaps two tables
+-------------+
|limited_spots|
+-------------+ +----------+
|<strong>week_no </strong> | | rsvp |
+-------------+ +----------+
| |<strong>week_no</strong> |
+--------------+----------+
|spots_left|
+----------+
|Person |
+----------+
The two tables are linked by week_no. using a left inner join. The spots_left field starts with 50. Every-time a new person RSVP's the spots_left field decrements by one.
Seems logical I guess? When you're processing the user input just make sure the user can't RSVP is the spots_left is < 0.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Nevermind, figured out a better way to do it. Thanks anyways
Oops I didn't see your reply... What was your solution by the way out of interest?
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439