Please check the error. thank you.

Source: Internet
Author: User
Tags parse error
Please help me find the error. thank you! I don't know much about PHP. I pulled a project online and tried wampserver to run it. it seems that syntax errors may fail to be compiled. I haven't seen it for a long time. please help me. thank you.

Parse error: parse error in E: \ PHP \ wamp \ www \ mongodes \ db_mysql_error.php on line 132
 error();$dberrno = $this->errno();if($dberrno == 1114) {?>Max onlines reached
 
 

Notice: WebShop onlines reached the upper limit.


Sorry, the number of online visitors has reached the upper limit.
Please wait for someone else going offline or visit us in idle hours.

Mysql error!

Time:

Script:

SQL:

Error:

Errno:



It seems to be the curly braces in the last and third rows. it is not true if I have removed the brackets ..


Reply to discussion (solution)

Remove the html section in the middle to see if any error is reported.
If no error is reported, find the cause in the html section.

One possible reason is that your PHP does not enable the short tag function (short tags)

The viewer is quite strange.

Two html files, including public headers and tails, can be written, but the output display is different.
In addition, it is strange to write the if else statement.






Xxxxx






129 rows Change

129 rows Change
It's useless to change it.

129 rows Change

  error();$dberrno = $this->errno();if($dberrno == 1114) {?>Max onlines reached
Xxxxx Exit can be considered. it is useless here.

Notice: WebShop onlines reached the upper limit.


Sorry, the number of online visitors has reached the upper limit.
Please wait for someone else going offline or visit us in idle hours.

Mysql error!

Time:

Script:

SQL:

Error:

Errno:



Now I have deleted exit and reported Parse error: parse error in E: \ PHP \ wamp \ www \ mongodes \ db_mysql_error.php on line 113.

After the short label is changed to the complete label

Solved. thank you.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.