You need to sign in to do that
Don't have an account?
![Kemp100 Kemp100](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Adding to custom object field
I am trying to add to custom object field, here is my code..its executing correctly but i dont see the output on the site.
$lead_name="test one";
$User_IP="1.1.1.1";
$ipToAdd = array('Lead__c' => $lead_name, 'Users_IP__c' => $User_IP);
$sIP= new SObject();
$sIP->fields = $ipToAdd;
$sIP->type = 'UserIP__c';
$add = $mySforceConnection->create( array( $sIP ) );
$User_IP="1.1.1.1";
$ipToAdd = array('Lead__c' => $lead_name, 'Users_IP__c' => $User_IP);
$sIP= new SObject();
$sIP->fields = $ipToAdd;
$sIP->type = 'UserIP__c';
$add = $mySforceConnection->create( array( $sIP ) );
whats wrong with that?