Hey,
First, sorry about the subject line, my mail program is giving me a bit of a
problem so had to use another..

--------------------------
[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;-------------------------

Nope, that didnt work either so I manually re-entered each line (record)
and for some reason its working now

Thanks for your time and help.

Cheers!

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

Reply via email to