Jump to content


Photo

restrict inserting data into database


  • Please log in to reply
1 reply to this topic

#1 crescent

crescent
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 11 March 2006 - 11:11 AM

Hellow

in my user input form i want to restrict inputting data by user...for example

after 40 people submitting the form no user will be able to insert data(submit form)

how will i do it

plz help

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 11 March 2006 - 12:41 PM

Count # of entries in your database table
If # of entries < 40 then display the form, otherwise don't display the form
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users