OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Limit Amout of Records In A Database Help

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> Limit Amout of Records In A Database Help
Page: [1]
 
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: 1705
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

(in reply to webgyrl)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Limit Amout of Records In A Database Help
Page: [1]
Jump to: 1





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