Excuse me, let's ask a simple question.

Source: Internet
Author: User
Excuse me, just ask a simple question // varis_fans = & lt ;? Phpecho $ guanzhu ;? & Gt; this is a sentence written in JS. The PHP variable already exists. if I assign a value like this, the JS variable is_fans cannot be used in some browsers .. have you ever encountered such a situation ?, Check the error message on the console and ask a simple question.
// Var is_fans = ;

This is a sentence written in JS. PHP variables already exist. if I assign a value like this, the JS variable is_fans cannot be used in some browsers ..

Have you ever encountered such a situation?

------ Solution --------------------
Check the error message in the console.
------ Solution --------------------
Var is_fans =' ';

Try it with single quotes
------ Solution --------------------
This should not happen. the output from the server is irrelevant to the browser. Check other code.
------ Solution --------------------
It depends on what is in $ guanzhu.
I cannot guess it.

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.