how do i do this in CI |
[eluser]nigelb[/eluser]
have been sent a 3rd party API to integrate and it has the following as a code same. Code: customer = new Customer(customerName, customerPrimaryEmailAddress); I had thought I could do it as an array, like this: Code: $customer = array($customer_name,$email); but I am getting an error message Code: "java.lang.NumberFormatException: For input string: "Array"
[eluser]pistolPete[/eluser]
[quote author="Pink Digital" date="1251384921"]any body got an idea?[/quote] Yes, you are mixing Java and PHP. What API do you want to integrate exactly? Post some code...
[eluser]nigelb[/eluser]
The SOAP API asks for this... Code: Customer customer = new Customer("Bob Smith","[email protected]"); At the moment I have this: Code: foreach ($query->result() as $row) {
|
Welcome Guest, Not a member yet? Register Sign In |