|
Posted by Janwillem Borleffs on 10/13/09 11:36
m6s wrote:
> Apparently, I have the code to download a page, and I want to truncate
> the values inside the table cells, from this part is this snippet...
> Any idea? (I am totally new to php)
>
$stringTR = "<td>asdf td fads</td>";
if (preg_match('|<td>(.+)</td>|', $stringTR, $m)) {
print $m[1];
}
JW
Navigation:
[Reply to this message]
|