|
Posted by iulian.ilea on 03/08/07 12:01
Hello,
I have a script that loops through two arrays.
First array container integers (Array( 0 => 152, 1 => -9652, ... 7800
=> 214)).
For the second array I parse an xml file and store its content into
another array.
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;
$second_array
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.
Any ideas?
Thanks in advance,
Iulian
[Back to original message]
|