Re: First stupid post of the year.

From: Date: Wed, 02 Jan 2008 23:56:24 +0000
Subject: Re: First stupid post of the year.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-266540@lists.php.net to get a copy of this message
At 3:16 PM -0500 1/2/08, Wolf wrote:
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
$string="       A       "; $string=str_replace(" ","",$string); $string=ltrim(rtrim($string))); echo "The string is now:$string\n"; Outputs: The string is now:A Wolf
While that does, that's not the problem. The problem is: <input type="submit" value="&nbsp; &nbsp; &nbsp;A&nbsp; &nbsp; &nbsp; &nbsp"> via this: $submit = $_POST['submit'] to produce: A Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#266540) next »