• slugmandrew
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Can anyone provide info on how to get the php toolkit to escape ampersands in the account name? 

I am having the same problem as this post but can't find any info on what needs to be changed.

I'm using the sample login.php that comes with the php developer toolkit 1.1, it works fine to edit account unless they have an ampersand in the company name, in which case I get this error when i try to update:

There was a problem with your login: The entity name must immediately follow the '&' in the entity reference.

This problem is happeneing for all accounts with an ampersand, not just ones that start with one.  If anyone can help i'd appreciate it.

I'm using the default developer account and php toolkit 1.1.


Hey,

Having a problem updating an Account Name where an ampersand is present.

PHP is returning the following error:
Uncaught SoapFault exception: [soapenv:Client] The entity name must immediately follow the '&' in the entity reference.

Now I've tried escaping the ampersand (eg: \&) to no avail... Is there a way to use this character with PHP / Salesforce API ? Can I use Unicode or HTML encoding on this?
  • May 29, 2007
  • Like
  • 0