11-24-2008, 05:55 PM
|
#3 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,215
Thanks: 90
|
Whilst Tanax is right about this being in the wrong forum, let me at least have an attempt at answering your question. The small job of moving the thread elsewhere will take me a second at most, so don't worry about that at all!
To get that data in the table you're going to have to use regular expressions, something like the following should get you the "me" text. $szData is the item which contains the HTML table, and perhaps other information also.
php Code:
if (preg_match('~<td><a.*>(.+?)</a></td>~is', $szData, $aMatches)){ echo 'Text item = ' . $aMatches[ 1]; }
Please keep in mind, if the table item differs then the regular expression used here will also need to be modified to compensate for that.
Last of all, a warm welcome to TalkPHP! I hope this helps you.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|