[snip] Can anyone tell me why the if (in_array("joe", $access)) is blowing my xml_parse up? If I remove the if statement, the XML parses fine - going crazy here.... code is below. [/snip] What do you mean by "blowing up"? Is "joe" in the array $access? Is $access an array?