I am creating a code in php to read the content of a file and save it in
a php array.
this is my code:
<?php
$myFile = "isbn.txt";
$fh = fopen($myFile, 'r');
$i=0;
$ans=array();
while(!feof($fh))
{
$theData = fgets($fh);
$url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1=';
$url1=$url.$theData;
//echo $url1;
$ans[$i]=$url1;
$i++;
}
?>
now i want to open each an every element of an array which are the links, in the method window.open() in javascript.
how can i do that thing??????
plz help me...