Php & lt; % = % & gt; do not parse & lt ;? Php? & Gt; it can be parsed, but & lt; % = % & gt; it is not parsed. for help, it is best to press & lt; if the short tag is not enabled in the php configuration file ;? Php? & Gt; write this way, configure the http://php.net/manual/zh/ini.core.phpasp_tags&n php in php. ini without parsing
?>
Resolution
However
<% = %>
But it does not parse, help
------ Solution --------------------
The short tag is not enabled in the php configuration file.
It is better to press Write in this way
------ Solution --------------------
Configure http://php.net/manual/zh/ini.core.php in php. ini
Asp_tags
Except for the common ASP-style flag is also allowed <%>. This also includes the abbreviation of the output variable value <% = $ value %>. For more information, see the separation section from HTML.
------ Solution --------------------
We recommend that you use standard php.
?>
Otherwise, problems may occur when porting to other hosts.
------ Solution --------------------
// Short tag
?>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service