I tried to connect flex with PHP.
Here is the PHP code
$id_number = $_GET["id"];
echo('<?xml version="1.0" encoding="utf-8" ?>');
But I am getting error
fault[RPC Fault faultString="Error #1096: XML parser failure: Unterminated element." faultCode="Client.CouldNotDecode" faultDetail="null"]
Please help me to solve this.
Most probably is an xml formatting error. Can you call the php script from the
browser and see if the returned xml is valid?
I think there is some problem with the xml that you are trying to echo.
Try to check the xml after echo either in your PHP side or check it in Flex side after you receive the xml. think the xml is not terminated correctly.