Home  >  Article  >  Backend Development  >  What's wrong with this sentence?

What's wrong with this sentence?

WBOY
WBOYOriginal
2016-07-06 13:54:081060browse

What's wrong with this sentence?
Prompt the following error
( ! ) Parse error: syntax error, unexpected '=', expecting ',' or ';' in D:wampwwwfunction.php on line 33

Reply content:

What's wrong with this sentence?
Prompt the following error
( ! ) Parse error: syntax error, unexpected '=', expecting ',' or ';' in D:wampwwwfunction.php on line 33

The end has a new line~~~~it’s not spelled out

For the code that is spliced ​​and then output like this, it is easy to miss single and double quotation marks. I suggest that it is better to divide it into two steps, first splice it into a string, and then output it. It is more obvious to find the error point in this way.

Didn’t you notice that &num is not enclosed in double quotes? This editor has them all colored for you.

Look carefully at the splicing of your strings and variables

Statement:
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