I would like to ask Gao, I want to get the data in the <tr>.</tr> how to write?

Source: Internet
Author: User
Example:
3.
 
 


Reply to discussion (solution)

Add:
I'm going to fetch a series of table

<> <\ tr="">why not?
Heroes on the line

Specifies whether TR or all TR, if all TR, is available/ ]*> (. +) <\/tr>/isu

Thank you jordan102 the reply of the Great God, is to match each TR, I want to collect the information in the table inside the information, there are other TR, with Preg_match_all to take out each TR, respectively to deal with. So, it's necessary to match each tr.

That's right, the one above is doable.

I'm going to be stuck right now.

<\>

/ <> i <\ tr=""><\>

/ <> i <\ tr="">
==========================================
That's not a match! Don't know why it's in this blank position!<\>

What is the difference between the other table and the TR of the table you are taking, and you do not specify, who knows what you mean?

Ah! Sorry, this page has several table, I want only one of the TR in the table, and only the TR in this Tabale has ID number, so I want to catch tr by ID. Really not, I will force above the method provided above, in the array to deal with the look can not.

  • Wait for the tall man! Thank you , and then each TR is processed separately. / Oh thank you jordan102, not meant, I forgot to say, there are other table inside the page, so that the other table in the TR also grabbed over!

    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.