Re: First stupid post of the year.

From: Date: Thu, 03 Jan 2008 00:00:41 +0000
Subject: Re: First stupid post of the year.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-266541@lists.php.net to get a copy of this message
At 3:20 PM -0500 1/2/08, Robert Cummings wrote:
<?php $foo = '&nbsp; &nbsp; &nbsp; &nbsp;A&nbsp; &nbsp; &nbsp; &nbsp;'; $foo = str_replace( '&nbsp;', ' ', $foo ); $foo = trim( ereg_replace( '[ ]+', ' ', $foo ) ); echo '['.$foo.']'."\n"; ?>
Nope, still didn't work for going from this: <input type="submit" value="&nbsp; &nbsp; &nbsp;A&nbsp; &nbsp; &nbsp; &nbsp"> to this: A via $submit = $_POST['submit']; Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#266541) next »