CompanyId = '0'.$key->CompanyId; $informations->Results->Company->CompanyId = '0'.$informations->Results->Company->CompanyId; } else if($pays == 'ES') { $key->CompanyId = substr($key->CompanyId, 1); $informations->Results->Company->CompanyId = substr($informations->Results->Company->CompanyId, 1); } if($manyResponses == true) { foreach ($informations->Results->Company as $value => $key) { ?>
  1. RegisteredName; ?>
    Register number : CompanyRegisterNumber; ?>
    VatNumber);?> Address->HouseNumber . ' '.$key->Address->AddressType;?> Address->Street);?>
    Address->PostCode);?> Address->City);?>
    Forme : LegalForm; ?>

  2. Results->Company->RegisteredName; ?>
    Register number : Results->Company->CompanyRegisterNumber; ?>
    Results->Company->VatNumber);?> Results->Company->Address->HouseNumber . ' '.$informations->Results->Company->Address->AddressType;?> Results->Company->Address->Street);?>
    Results->Company->Address->PostCode);?> Results->Company->Address->City);?>
    Forme : Results->Company->LegalForm; ?>