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">
                <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 width="50%">
                        <b>Address:</b> school address...<br>
                        <b>Pin Code: </b>123456<br>
                        <b>Tel: </b>963852<br>

Recommended Answers

All 3 Replies

Member Avatar

Have you tried DOMDocument?

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

Member Avatar

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.