View Single Post
Old 01-08-2004, 05:58 PM   #1
bloodjelly
Purple Mole
 
Join Date: Dec 2003
Posts: 106
Number of links found

Hi -

I'd like to grab the total number of links found from the results array. It seems to be under "result_message", but I can't figure out how to get it yet. Any ideas? Thanks.

Just thought I'd mention the way I'm searching the array...I think it's faulty. Check it out:
PHP Code:
while ($results['results'][$i]['weight']){
                    
// Add weight of results to total until loop finishes
                    
$total += $results['results'][$i]['weight'];
                    
$i++;
                } 
This adds the weights of the results but only the first 10. This is related to the first problem I think, because I can't figure out how to get all the results. Thanks again

Last edited by bloodjelly; 01-08-2004 at 09:46 PM.
bloodjelly is offline   Reply With Quote