[snip]
Let's try an experiment, do a string replace to get rid of the newline
and report back what happens.------------------------------I did a
this:$flick_name  = rtrim($row[5]);But no joy.... if I do a string
replace
how do I specify the newline in the needle parameter of the
str_replace?I'm
pretty sure I have to use chr() but not sure how...am looking at the
ascii
table now...Thanks!
[/snip]

http://www.php.net/str_replace

$new = str_replace("\n", " ", $row[5]);

echo $new;

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

Reply via email to