I really don't understand how ie parses php. [I really don't understand how ie works.] index. one section in the PHP file looks like this: & lt; divclass & quot; wraper & quot; & gt; & lt; divclass & quot; primary_wrap & quot; & gt; & lt; divclass & quot; content_primary & ie doesn't really understand how php works.
[I really don't understand how ie works]
The index. php file looks like this:
Include 'list. php'; break; // call list. php when loading index. php.
?>
The outer p in list. php looks like this:
// Some content
?>
After entering localhost/index. php in the ie address bar, the page is displayed. Check the page source file. The problem is probably like this:
This is the outermost p
Some content
The problem is that ie omitted the p tag in index. php. That is, the three
Shouldn't the expected results look like this:
It cannot be solved.
------ Solution --------------------
This is related to the rendering of the browser. It actually has nothing to do with php. It is already a client.
------ Solution --------------------
Include 'list. php'; break ;???
Using break in a non-cyclic structure will inevitably lead to a serious error
Therefore, the program will output something uncertain.
------ Solution --------------------
In this case, the code that outputs the outer p may not be executed.
------ Solution --------------------
This has nothing to do with whether it is IE. Isn't Firefox like this?
------ Solution --------------------
If html is not as expected,
This is not an issue with ie.