I have a form that when submitted, the data is set into a database. When the form is submitted I want to set a specific variable to either active or inactive.
What I'm looking to do is set the max number of active memebers to 10. I want my process.php file to automatically search through the database and if there are 10 active states, set the varaible to inactive.
Anyone have any ideas?
What I'm looking to do is set the max number of active memebers to 10. I want my process.php file to automatically search through the database and if there are 10 active states, set the varaible to inactive.
Anyone have any ideas?