Forum Moderators: coopster

Message Too Old, No Replies

Unexpected characters with news display

The "greater than" character (>) jumps in between the two php echo()'s-why?

         

matun

10:14 am on Jan 30, 2007 (gmt 0)

10+ Year Member



Hello people.

I ran into a wierd problem. I have a UTF-8 encoded index.php which displays (correctly) news headlines and body's, but for some reason between those two echo's there is a "greater than" character displayed between them. I googled it a bit and thought it was a problem with "BOM signature" which is present in a UTF-8, but apparently that's not the problem. Can anyone point me in right direction as this situation is driving me nuts.

[edited by: jatar_k at 1:35 pm (utc) on Jan. 30, 2007]
[edit reason] no urls thanks [/edit]

mcibor

3:00 pm on Jan 30, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Matun and welcome to Webmasterworld

As you cannot post priv urls, then we need a little bit of your code, that is echos and sth that's between them.

Regards
Michal

IanKelley

2:17 am on Jan 31, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



99% of the time the extra > is somewhere in the HTML as a result of a tag you removed at one point but didn't quite get the whole thing.

matun

1:20 pm on Feb 1, 2007 (gmt 0)

10+ Year Member



@mcibor:

Tnx for the welcome! I appreciate it.

@IanKelley:
Yep, you are right. I was searching for a ">" character but found none. It was that extra ">" tag that was making fun with me. All set up now. Apologies for an unnecessary post. Btw, WebmasterWorld is a rarely great knowledge base!

mcibor

4:44 pm on Feb 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No posts are unnecessary - this your post opened a completely new way for you - a way on the webmasterworld path ;)

The same is with question - no question is stupid:

"Dad? Why is Black Sea black?"
"Couldn't you ask more clever questions?"
"Who killed the Dead Sea?"