jblanchard@pocket.com

From: Date: Tue, 11 Apr 2006 17:02:27 +0000
Subject: jblanchard@pocket.com
Groups: php.general 
Request: Send a blank email to php-general+get-233773@lists.php.net to get a copy of this message
Hey, ------------------------- [snip] After a lot of searching through the page source I see that the first "Try A Teen" has a line break (after the "n" in "teen" whatevers there appears on the next line), thats why it seems different...but when I went into the mySql db via phpmyadmin...there is no linebreak to be found anywhere....and all the other titles are working perfectly fine... what do you think is the problem? Bug? Something with the script? MySql? [/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!

« previous php.general (#233773) next »