Jump to content

Reading A Page Using Curl


phpmady

Recommended Posts

I need to write a curl functionality, where the datas are stored in the table format. I need to write a function to read all the <tr> and its <td>

 

<td> contains text and link like the below.

 

could anyone help me how to read a text along with the link.

 

 

for example:

 

 

<table>

<tr>

<td> <div> <a href="link.html">td data </a><div></</td>

<td> <div> <a href="link.html">td data </a><div></</td>

</tr>

 

<tr>

<td> <div> <a href="link.html">td data </a><div></</td>

<td> <div> <a href="link.html">td data </a><div></</td>

</tr>

 

 

</table>

Link to comment
https://forums.phpfreaks.com/topic/270159-reading-a-page-using-curl/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.