Hello,
I have been searching all over for a answer as I am not the best at mysql .. I am building a form that a person would fill out but I want to restrict how many people can fill it out. I have tried all kind of things but I am completely lost now.
What I need to do is when the page loads it needs to check a number from a row within in a table in a specific field on a specific record if that number is less than say 50 i want to increase the number by 1 and then load the form.
If the number is more than 50 I want it to not load the form and load a different page.
I have the connection built to the mysql server and have the form all tested to save the info they fill out but I am completely lost as how to get it to check the number and then make decision.
Any help here is greatly appreciated.
Thanks In Advance