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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to