PHP Coder - combine and rewrite two PhP functions as one function
Budget: $10 – $30 USD
Two functions need to be re-written as a single function. All code exists, just a matter of re-arranging the logic flow and some basic changes for a PHP coder to turn the 2 functions into 1 function.
Function 1 Already Exists:
Adds options to a dropdown
Function 2 Already Exists:
Checks how many times each dropdown option has been submitted. Removes those options that have already been submitted x number of times.
Replace with ONE Function: Same list of options to add to dropdown. But before adding each option, FIRST check how many times each option has been used BEFORE adding that option to dropdown. In this way some options do NOT need to be added to the dropdown to begin with.
Function 1 Already Exists:
Adds options to a dropdown
Function 2 Already Exists:
Checks how many times each dropdown option has been submitted. Removes those options that have already been submitted x number of times.
Replace with ONE Function: Same list of options to add to dropdown. But before adding each option, FIRST check how many times each option has been used BEFORE adding that option to dropdown. In this way some options do NOT need to be added to the dropdown to begin with.