Jump to content

stopping queries from running for time period.


seany123

Recommended Posts

Have a rate table like -

 

rate

id PRIMARY_KEY AUTO_INCREMENT
rater int( NOT NULL
rated int( NOT NULL
rate int(1) ENUM(0, 1) DEFAULT 0
time timestamp

 

rater is the user id of the member who did the rating. rated is the user id of the member who got rated. rate is one of 1 or 0. Then there's a time that records the time the rater rated the user. You can query that. You can also add a field to the member's table if you want, but this is fine.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.