Posted by m6s on 10/13/34 11:36
<?php
$arrayTR = "<td>asdf td fads</td>";
$start = 0;
$end = $start + count( $arrayTR );
for( $i=$start;$i<$end;$i++ ){
$arrayTR = preg_split ("/td*/",$arrayTR[$i]);
echo "Array ".$arrayTR[$i]."\n";
}
?>
I have this code
should this return me the variable with the "td" word?
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)
[Back to original message]
|