5
Mithrandir,
Thanks, this did the trick.
Quote:
if (isset($i_arr['ErrorMsg'])) {
}
The function I showed you is a standard php function, $i_arr is not declared before that function but is declared with the outcome, like with this example:
Quote:
$simple = "simple note";
$p = xml_parser_create();
xml_parse_into_struct($p, $simple, $vals, $index);
xml_parser_free($p);
echo "Index array\n";
print_r($index);
echo "\nVals array\n";
print_r($vals);
I tried something similar to what you showed but did not leave out the other array element, which caused the error.
Regards,
Martijn