RE: [PHP] First stupid post of the year.
| From: | Bastien Koert | Date: | Wed, 02 Jan 2008 19:18:45 +0000 |
| Subject: | RE: [PHP] First stupid post of the year. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266493@lists.php.net to get a copy of this message | ||
if you need to make the button wider, just style it with css and leave the value to be what it needs
to be
<input type='text' width='100px' value='Submit'
name='submit'>> Date: Wed, 2 Jan 2008 13:34:43 -0500> To:
php-general@lists.php.net> From: tedd@sperling.com> Subject: [PHP] First stupid post of the
year.> > Hi gang:> > I have a> > $submit = $_POST['submit'];> >
The string contains:> > A
> > (it's there to make a submit button wider)> > How can I
strip out the " " from the $submit string leaving "A"?> >
I've tried> > trim($submit);> > but, that don't work.> > Neither
does:> > $submit = str_replace(' ','',$submit);> > or
this:> > $submit = str_replace(' ';','',$submit);> > I should
know what to do, but in this case I don't.> > Help is always appreciated.> >
Cheers,> > tedd> > -- > -------> http://sperling.com http://ancientstones.com http://earthstones.com> > -- > PHP General Mailing List
(http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>
_________________________________________________________________
Use fowl language with Chicktionary. Click here to start playing!
http://puzzles.sympatico.msn.ca/chicktionary/index.html?icid=htmlsig