Phpecho output html problems. it's weird to paste online. I echo every html operation is echo" "; It should all be blue, but I have blue, gray, and so on.
Reply to discussion (solution)
Your code is not escaped
Echo"
"; // Or use single quotes echo'
';
Your code is not escaped
Echo"
"; // Or use single quotes echo'
';
Now it's okay. But the page does not appear. All pages are designed in html to copy the code. Add echo to output the data. I don't know. If you do not put echo on. The table is displayed.
The double quotation marks in double quotation marks are not added to the clothes \, or they are enclosed in single quotation marks. Style reports an error even if no echo output is used.
It is recommended that you do not send a picture to ask questions, so that you can easily copy the code!
You might as well learn
Heredoc syntax structure
Nowdoc syntax structure (from PHP 5.3.0)
The two assignment methods
$ Str = <
It is recommended that you do not send a picture to ask questions, so that you can easily copy the code!
Echo "test ";
?>
It is recommended that you do not send a picture to ask questions, so that you can easily copy the code!
Should code be sent? is code always convenient for debugging? isn't code sent again by someone who helps you debug it?
Why is it difficult to write html directly using echo in html?
You can try echo directly.