Reply to script execution is mysteriously stopping without error

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация