how to trim multidimensional or one dimensional array in php
//trim all strings of array
$trimmed_array=array_map('trim',$array);
print_r($trimmed_array);
PHP,WORDPRESS,CAKEPHP,JQUERY,PHP TUTORIALS,CAKEPHP TUTORIALS,JQUERY CODES, CSS CODES, HTML CODES,EXPO, React, React Native, Angular,OOPS ,PHP INTERVIEW QUESTIONS @shubham715
Comments
Post a Comment