script execution is mysteriously stopping without error

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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;

  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,

Re: script execution is mysteriously stopping without error

Quoted text here. Click to load it

Euhm? Parse error?

Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions:

Site Timeline