Discussions
attach method from PHP
Hi
We've just started using the web services and I'm trying to import some customers/contacts, using PHP.
Due to the rather limited functionality of the PHP code, that in itself was a struggle, but after a bit of hacking I've managed to create customers and contacts assigned to those customers.
Now I'm trying to set a primary contact - something which I saw 2 threads about on the first time I logged into the forum, however neither of them were about PHP.
I'm getting the idea that PHP isn't very well supported so if someone could just show me what the XML should look like for an attach, I'd be grateful, and I can then try hacking the PHP code from there.  Alternatively some working PHP code would be great.