I don't believe there is such a problem, because

<DIV><? echo "foo"; ?></DIV>

will get replaced with <DIV>foo</DIV> by the PHP parser.  >> Thus by the
time the content gets to the browser, it ISN'T PHP anymore -- it's HTML, or
text.

What you should do is view the source of your processed page, to ensure that
your HTML around the problem area is valid, and correctly parsed.  You may
even want to run a HTML validator over it.


Remember, once the page hits the browser, the code is the RESULT of the PHP
code, not the php code itself, thus, PHP code that produces correctly
formatted HTML should not break any page.  PHP code that creates poorly
formatted or invalid HTML will break a page, just as if you did it yourself
with a text editor on a raw HTML page.


Good luck.


Justin French
--------------------
Creative Director
http://Indent.com.au
--------------------



on 25/04/02 4:52 AM, Robert ([EMAIL PROTECTED]) wrote:

> Has anyone ever had trouble with Netscape not displaying a layer with you
> put any php code in it? Anyone know a source for reading more about it?
> 
> 


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

Reply via email to