C cristianods Guest Dec 3, 2008 #2 PHP does not add space to the beginning of a string on a posted variable. Check your code. <input type="text" name="fname" value="John" /> if you submit this, you will have $_POST['fname'] with the exact value John.
PHP does not add space to the beginning of a string on a posted variable. Check your code. <input type="text" name="fname" value="John" /> if you submit this, you will have $_POST['fname'] with the exact value John.