I need code which will stop inserting into database after some inserting of the date .Right now i do have limit inserting date after 10 enters of the number 7,10 enters of the number 8 and 10 enters number 9 and echo coming up on the page saying that is 10 enters so i need stop inserting date into database after 10 enters numbers 7,8,9.