You may use the special PHP function trim. <?php $myText=" car "; echo trim($myText); ?> will display: "car"
<< Go back