|
Posted by Ridge Burner on 08/03/05 17:22
Yep, that was the first thing I tried. Also tried just trim().
Even tried passing each parameter one at a time like
rtrim($field);
rtrim($field, "\n");
rtrim($field, "\r");
Still no effect on output.
Currently, the only way I have been able to get rid of the newline is like
this:
$river = strlen($field);
$ebb = substr($field,0, $river-1);
which strips off last char no matter what and returns what I want.
-Ridge
Navigation:
[Reply to this message]
|