PHP Strip white space from an array instead of trim( )

by barkkathulla 2013-11-15 17:12:20


$option_array=array_filter(array_map('trim', $option_array));

Here,
$option_array is the array variable...

1008
like
0
dislike
0
mail
flag

You must LOGIN to add comments