|
| |
|
|
webgyrl
Posts: 52 Joined: 2/9/2009 Status: offline
|
Limit Amout of Records In A Database Help - 6/3/2009 16:30:43
Is there a way i can limit the members of my site to only being able to enter a maximum of say..50 records...the site is a member site...
|
|
|
|
ou812
Posts: 1703 Joined: 1/5/2002 From: San Diego Status: offline
|
RE: Limit Amout of Records In A Database Help - 6/3/2009 18:01:49
Without knowing how things are set up it is difficult to give you an exact way, but the basics how you might attack the problem would be to select the amount of records already entered by the user and check to see if it has hit their maximum amount of records. If they're not there yet let them insert more, otherwise no. Select count(*) from member_file where member_id = login_id
_____________________________
-brian Black Holes suck. EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|