receive XML
Hello, I have created this PHP code below which returns an object ($Return),
formatted in XML to a Flex HTTPService call.
I am not sure how to code my HTTPService resulthandler function to receive it
correctly as an ArrayCollection.
Can someone please help with a brief code example of how my Flex resulthander
function should look ?
Thanks kindly.
$Return = "<root>";
while ( $imageObject = mysql_fetch_object( $result ) ) {
$Return .= "<image>".$imageObject->PHOTONAME."</image>";
}
$Return .= "</root>";
print ($Return)
|