[Help] This jquery in the HTML suffix file is available, in the PHP suffix file will not be used!

Source: Internet
Author: User
PHP JQuery HTML

Novice rookie want to ask the next distinguished people, why this page in the HTML suffix file available, in the PHP suffix file can not use it?
 
  Untitled Document
 
  
 
  13

View

Purchase Offer

Evaluation

Evaluation


Reply to discussion (solution)

is the code the same, in the PHP file also for the above code? Have you reported anything wrong?

Well, the code is the above, no error, that is, such as the name of the 123.html file can be used, replaced by 123.php will not be used! According to the reason no PHP statement directly static should be able to ah, but as long as the suffix of PHP is not ...

In general, this is not the case, ah, PHP is embedded in the HTML language, but what is this?

In general, this is not the case, ah, PHP is embedded in the HTML language, but what is this?
Well, this is the support file for jquery. Anyway, the above page has been replaced with a. php suffix is not available ...

So how did you access it, put PHP files in the root directory, is the use of http://localhost/xx.php such a form of access?

So how did you access it, put PHP files in the root directory, is the use of http://localhost/xx.php such a form of access?
For example, I directly open this 123.html file can be used, and then open in the server http://localhost/xx.html will not be able to use the ~

is the style and jquery file path correct? See what's wrong under the Firebug console.

is the style and jquery file path correct? See what's wrong under the Firebug console.

Never mind... I'd better give it up ~ Thank you ~

Ask if you have installed PHP, how do you open the. php suffix file, to be accessed through the browser only, directly open is not compiled by the server. HTML suffix hypertext file, the browser can be directly recognized, but PHP is to be compiled by the server

  • 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.