[Solved] Removing eval from PHP function [closed]
It seems like you could simplify your code a lot, and remove the need for eval() which you shouldn’t use unless it is a last resort. There is no need for all the IF blocks had in your code, because if the value isn’t set, it also won’t be added to the $values array. Just … Read more