RE: [PHP] Re: Got another ripper for you all ;-)
| From: | Liam MacKenzie | Date: | Thu, 15 Aug 2002 10:57:59 +0000 |
| Subject: | RE: [PHP] Re: Got another ripper for you all ;-) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112734@lists.php.net to get a copy of this message | ||
Oi!!!
Don't knock the Irish!
I got it working eventually :-)
-----Original Message-----
From: David Robley [mailto:robleyd@paradise.net.nz]
Sent: Thursday, 15 August 2002 7:27 PM
To: php-general@lists.php.net
Subject: [PHP] Re: Got another ripper for you all ;-)
In article <00c101c2441b$83a612a0$0e00a8c0@luke>,
phplist@operationenigma.com says...
> Hey guys,
>
> yep, another one...
>
>
> I do this:
> echo "-".$dir."-";
>
> I get this:
>
> -/home/eXtremail/mbox/i-redlands.net/9/1/liam
> -
>
> Note the new line at the end.
>
> Is there a way to get rid of any new lines in a string? Because this
> is making my directory listing go whacko.
>
>
> Cheers,
> Liam
trim()
Liam is an Irish name, is it not :-)
--
David Robley
Temporary Kiwi!
Quod subigo farinam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php