I'd take the results of file() and then
walk through the array looking for the lines for the
various fruit you're concerned with. Then I'd grab the next
two lines and process them, with something like:
$line = ".46";
ereg('^([^<]+)',$line,$m);
echo $m[1] . "\n";
echo $m[2] . "\n";
IMHO, it's
I'm reading a book and have a little confusion in my mind.
Consider the following table. Assume that I grabbed it from another web site
using:
http://www.abc123xyz.com';
$lines_array = file($url);
$lines_string = implode('', $lines_array);
?>
===
banana
.46
2 matches
Mail list logo