ronaldobernal
Saturday, August 18, 2012
how to clean array values
one of the fastest way is to use array map ex.
$a = array('a',' b','c '); $b = array_map('trim',$a);
or you can create your own function and use that as first parameter when calling array map
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment