What's wrong with this sentence?

WBOY
Release: 2016-07-06 13:54:08
Original
1056 people have browsed it

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

Related labels:
php
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!