I am using this code below but although I have the same domain twice only one output it echoing on the page.
$urls = array(
'phpclasses.org' => 'phpclass',
'phpclasses.org' => 'php',
'php.com' => 'php'
);
$RankChecker=new RankChecker(1,5);
foreach($urls as $url => $keyword) {
$result=$RankChecker->find($url,$keyword);
if ($result!==false) {
echo $url . " is found at page number ".$result["page"].".";
echo '<br>';
}
}
I need to be able to use same url multiple times.
Why is this not working on the code above?