[support] Accessing data from array $data

Néstor rotsen at gmail.com
Tue Nov 15 23:06:06 UTC 2011


I am confused,

I did a print_r (4data) and it returned  the following:

stdClass Object (
  [date_info] => stdClass Object (
    [tables] => Array (
      [where] => Array (
        [fields] => Array (
          [feeds_node_item_url] => Array (
            [field] => url
            [table] => feeds_node_item
            [alias] => feeds_node_item_url )

How do I obtain the the url?
How do I obtain the value from an Object?
Is the url a VALUE or is it a KEY?

All I can think is that if I am in *tables *I can get the value
myurl = tables['where']['fields']['feeds_node_item']['field']=>url;
print myurl;

Any ideas?

Thanks,

Néstor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111115/b5107a40/attachment.html 


More information about the support mailing list