Exemple #1
0
                            ?>
, <?php 
                            echo $address->city;
                            ?>
                    <?php 
                        }
                    }
                    ?>
              </div>
              <div style="margin: 0.5em 0 1em 2em;">
                Description: <?php 
                    echo $company->description;
                    ?>
              </div>
              <?php 
                    $response = $OBJ_linkedin->companyProducts('1337', ':(id,name,type,recommendations:(recommender,id))');
                    if ($response['success'] === TRUE) {
                        $response['linkedin'] = new SimpleXMLElement($response['linkedin']);
                        ?>
                <div style="margin: 0.5em 0 1em 2em;">
                  Products: <pre><?php 
                        print_r($response['linkedin']);
                        ?>
</pre>
                </div>
                <?php 
                    } else {
                        // company product retrieval failed
                        echo "Error retrieving company products:<br /><br />RESPONSE:<br /><br /><pre>" . print_r($response) . "</pre>";
                    }
                } else {