Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
March 8, 2007, 12:01 pm
rate this thread
I have a script that loops through two arrays.
First array container integers (Array( 0 => 152, 1 => -9652, ... 7800
For the second array I parse an xml file and store its content into
The code stops when I'm looping through the first array to parse the
xml file (see bellow):
$first_array = Array( 0 => 152, 1 => -9652, ... 7800 => 214);
foreach ($first_array as $id)
$xml = "http://path_to_xml?id=".$id;
new class_to_parse_xml($xml, $first_array);
echo $xml ."\r\n";
foreach($second_array as $node)
// get some values from $second_array
// and insert into db
The script is not looping through any of the arrays, it doesn't return
an error, it just displays an empty page on Firefox and "The page can
not be displayed" on IE6.
Thanks in advance,