About the php code embedded in html in phpstorm always prompts an error, how to cancel this thing?

PHP中文网
Release: 2023-03-01 08:52:01
Original
2395 people have browsed it

Solution:

Click on the little head in the lower right corner, and then move the pointer to NONE.

This is obviously not an html tag, it belongs to the json data format. It is just written in the script tag of the html page, and it is also mixed too dirty. Generally, the background php only provides data output, so it is best not to Put PHP logic on the front end, and your eyebrows and beard will be scratched. . .

Why embed php in json? Just write the json and use php to read it

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template