Hi i have an array with some Urls and Html code for open this webs in others tabs. But the array dynamically changes the amount of Urls it contains. How can I change the Html code depending on the number of Urls that my array contains?
Code:
<?php
//$myarray can change dinamicaly the amount of urls contains
$myarray=array('www.google.com','www.piza.com','www.5.com');
?>
Now in my HTML code I have the code for open a tab, but i need open the array numbers of urls. In this case I need window.open('')
three times.
<p><a href='#'
onclick='window.open('');
>Click to open webs</a></p>