Remove whitespace from both sides of a string with php