Hello Peoples !
I'm trying to make a simple test with com and php, but I've a big trouble.
Is anybody here have an idea about my problem ?
In ASP, I call the object like this
...
Set CustomerData = Server.CreateObject("AcoX0122.Customer")
CustomerData.CuPhoneNumber(1) = "test"
in php, the call for the object isn't the problem.
The problem is only with the second line.
when I do this command
$CustomerData->CuPhoneDescription(1) = "test";
Php return me an error like this
parse error, unexpected '=' in ...
So, I understand that php doesn't like ..(1), and I try to use set_com(...) and I receive another error.
Do you know how can I assign a value to a com object referenced in a array ?
Thanks for the help.
Patrick