You are here: Re: trouble with echo <br /> « PHP Programming Language « IT news, forums, messages
Re: trouble with echo <br />

Posted by Colin Fine on 12/08/05 11:24

Khai wrote:
> "Colin Fine" <news@kindness.demon.co.uk> wrote in message
> news:dn583g$726$1$8300dec7@news.demon.co.uk...
>
>>How do you know it is producing <br>? Where are you looking at it?
>>It looks as if something along the way is rewriting your XHTML as HTML.
>>
>>Colin
>
>
> I'm looking at the output in the browser (FireFox), and then view source.
>
> My code is simply an <?php IF ( ) { ?> html code <br /> <?php } ?> to
> generate an output. I've also tried echo, and print_f and when I look at the
> output in a browser, via view source, it changes the <br /> to a <br>
>
> *screaming and losing hair*
>
> -khai
>
>
That's my point. By that time your output has gone through your server
and your browser. Have you looked at it with a different browser? (I'm
not aware that Firefox or any other browser alters the source it
receives when you ask to see it, but it's not impossible).

Is there a way you can look at it as it leaves your server (I admit I
can't quite see how).

Colin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация