Getting an external piece of file
Posted: Wed Feb 21, 2007 4:33 am
Ok, so I want to get a piece of an external file to be able to show up in my page without any other part of the file attached.
The file has a lot of coding, so I thought I'd just give you a small piece of it. The file has numbers that frequently update so thats why I can't just copy them into my page.
Here is an example of part of the file:
In the code above I would just want the number: 1,093,574.
Is it possible for me to use fgetss() to get just that line without the html? or is that not what fgetss() does. The easiest way to do this would be just to use a code to get a line from the external page without html tags on it. Is that possible? Anyways please help me get this working. Also the number 1,093,574 is on line 196 if that makes any difference.
Thanks a lot!
evank3
The file has a lot of coding, so I thought I'd just give you a small piece of it. The file has numbers that frequently update so thats why I can't just copy them into my page.
Here is an example of part of the file:
Code: Select all
<td align="right">236,703</td>
<td align="right">73</td>
<td align="right">1,093,574</td>Is it possible for me to use fgetss() to get just that line without the html? or is that not what fgetss() does. The easiest way to do this would be just to use a code to get a line from the external page without html tags on it. Is that possible? Anyways please help me get this working. Also the number 1,093,574 is on line 196 if that makes any difference.
Thanks a lot!
evank3