How does php process html source code?

Source: Internet
Author: User
Ask php to handle the html source code! For example, the idea asks php to handle html source code! Online
Example: http://www.bengou.com/100408/pm10040810/index.html

Some of the html source code is:
HTML code
                                              
  
  
  • Prince Bubble (8th words) (11 pages)
  • Prince Bubble (7th words) (12 pages)
  • Prince Bubble (6th words) (12 pages)
  • Prince Bubble (5th words) (12 pages)
  • Prince Bubble (4th words) (16 pages)
  • Prince Bubble (3rd words) (16 pages)
  • Prince Bubble (2nd words) (18 pages)
  • Prince Bubble (1st words) (12 pages)



How to get the above code through the php program
Ask your teachers for help online !!

------ Solution --------------------
Preg_match ('/(.*?) <\/Div>/is ', $ s, $ m );

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.