when i open this page pronostico_match.php?fixtureid=<?php echo $item['matchid'];?>
this run all script inside and give me the page with all statistics by soccer match, then insert data into mysql db.
now i need to send multiple page with one click for each matchid without open all pages, i would like to run in background if possibile
i tried this below, but open like 40 links. anyway i need to run this on background like cronjob HTML
<ul class="links">
<li><a href="http://www.google.com/"></a></li>
<li><a href="http://www.yahoo.com/"></a></li>
</ul>
<a id="open-all" href="#">OPEN ALL</a>
JQUERY
$(function() { // On DOM content ready...
var hrefs = [];
$('.links a').each(function() {
hrefs.push(this.href); // Store the URLs from the links...
});
$('#open-all').click(function() {
for (var i in hrefs) {
window.open(hrefs[i]); // ...that opens each stored link in its own window when clicked...
}
});
});