in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address

<table width="100%" cellspacing="0" cellpadding="10" border="0" class="text">
            <tbody>
                <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor">
                    <td width="50%">
                        <span class="text1"> School name</span><br>
                        <font color="#cococo"><i>Secondary School</i></font><br>
                        <b>Principal Name:</b> kannan<br>
                        <b>Name of Trust:</b> school Trust
                    </td>
                    <td width="50%">
                        <b>Address:</b> school address...<br>
                        <b>Pin Code: </b>123456<br>
                        <b>Tel: </b>963852<br>
                        <b>Email:</b> sample@yahoo.co.in
                    </td>
                </tr>
            </tbody>
        </table>
Member Avatar for diafol

Have you tried DOMDocument?

i tried but not get data, after the <b> tag

Member Avatar for diafol

Show the code you used

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.