PHP-Simple method to remove extra spaces, tabs and line feeds

by barkkathulla 2013-10-11 19:40:47


preg_replace("/\s+/", " ", $string);


This method is very useful for validation and alignments...
1950
like
0
dislike
0
mail
flag

You must LOGIN to add comments