Need you help in an unusal situation. I need to trim all the $_POST variables.
Is there any way I can do it at a single shot i.e., using a single function?
I
I think it's better to use anonymous functions :
array_walk($_POST, function(& $value){ $value = trim($value); });