Problem in inserting record in zoho PHP

Problem in inserting record in zoho PHP

Hi
I am stuck in inserting leads on zoho via xml.

http://crm.zoho.com/crm/private/xml/Leads/insertRecords?newFormat=1&apikey=MYAPIKEY&ticket=MYTICKET&xmlData=' Zoho Corp Steve Scott saranji@testing.com Trade Show '


It is giving me error no 4835(Inconsistent value, Unable to parse the XML data) in response. Can you please guide me through this problem.

Here is my code:

$finalxml = " Zoho Corp Steve Scott saranji@testing.com Trade Show ";

$file = fopen("http://crm.zoho.com/crm/private/xml/Leads/insertRecords?newFormat=1&apikey=".$zoho_apikey."&ticket=".$zoho_ticket."&xmlData=".$finalxml, "r") or exit("Unable to open file!");
while(!feof($file))
  {
      $theData=fgets($file);
  }
fclose($file);
echo $theData;

Regards