<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey N&eacute;stor,<br>
    <br>
    to get the url you do:<br>
    <br>
$data-&gt;data_info-&gt;tables['where']['fields']['feed_node_item_url']['field']<br>
    <br>
    the difference between -&gt; and [] is<br>
    <br>
    use -&gt; when its a Object<br>
    use [] when its a array<br>
    <br>
    that answers your question?<br>
    <br>
    <br>
    <br>
    Op 16-11-2011 0:23, N&eacute;stor schreef:
    <blockquote
cite="mid:CAON-vCOE9dnasWgKVZD212zQbMy6C1wgEpR0s0Mypv1+yhpH4A@mail.gmail.com"
      type="cite"><br>
      I fixed the code up a little bit.&nbsp; I was missing some parenthesis
      and I put a 4data instead of $data&nbsp; :-)<br>
      <div class="gmail_quote">On Tue, Nov 15, 2011 at 3:06 PM, N&eacute;stor <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:rotsen@gmail.com">rotsen@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">I am confused,&nbsp;
          <div><br>
          </div>
          <div>I did a print_r ($data)&nbsp;and it returned &nbsp;the following:</div>
          <div><br>
            <div>
              <div>stdClass Object (&nbsp;</div>
              <div>&nbsp; [date_info] =&gt; stdClass Object (&nbsp;</div>
              <div>&nbsp; &nbsp; [tables] =&gt; Array (&nbsp;</div>
              <div>&nbsp; &nbsp; &nbsp; [where] =&gt; Array (&nbsp;</div>
              <div>&nbsp; &nbsp; &nbsp; &nbsp; [fields] =&gt; Array (&nbsp;</div>
              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [feeds_node_item_url] =&gt; Array (&nbsp;</div>
              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font color="#ff0000"> [field] =&gt; url&nbsp;</font></div>
              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [table] =&gt; feeds_node_item&nbsp;</div>
              <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [alias] =&gt; feeds_node_item_url ))))))</div>
            </div>
            <div><br>
            </div>
            <div>How do I obtain the the url?</div>
            <div>How do I obtain the value from an Object?</div>
            <div>Is the url a VALUE or is it a KEY?</div>
            <div><br>
            </div>
            <div>All I can think is that if I am in <b>tables </b>I
              can get the value&nbsp;</div>
            <div>myurl =
              tables['where']['fields']['feeds_node_item']['field']-&gt;url;</div>
            <div>print myurl;</div>
            <div><br>
            </div>
            <div>Any ideas?</div>
            <div><br>
            </div>
            <div>Thanks,</div>
            <span class="HOEnZb"><font color="#888888">
                <div><br>
                </div>
                <div>N&eacute;stor</div>
              </font></span></div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <br>
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td rowspan="3" align="left" valign="top" width="120"><a
                href="http://www.betawerk.nl"><img
                  src="cid:part1.07010301.06000904@betawerk.nl"
                  alt="Betawerk" style="border:none;" border="0"
                  height="50" width="82"></a></td>
            <td style="font-family:Arial, Helvetica,
              sans-serif;font-size:13px;line-height:18px;color:#333333;"><strong>Mitch
                Albert</strong> <a
                href="http://nl.linkedin.com/in/mitchalbert"><img
                  src="cid:part2.04030304.07080607@betawerk.nl"
                  alt="LinkedIn" style="border:none;" align="absmiddle"
                  border="0" height="14" width="14"></a><br>
              Senior Developer<br>
              <a href="mailto:mitch@betawerk.nl"
                style="color:#4496bb;text-decoration:none;">mitch@betawerk.nl</a>&nbsp;&nbsp;</td>
          </tr>
          <tr>
            <td><br>
              <table border="0" cellpadding="0" cellspacing="0">
                <tbody>
                  <tr>
                    <td style="font-family:Arial, Helvetica,
                      sans-serif;font-size:13px;line-height:18px;color:#333333;"
                      width="150"><strong>Betawerk</strong><br>
                      Pancratiusstraat 30<br>
                      6411 KC Heerlen<br>
                      <a href="http://www.betawerk.nl"
                        style="color:#4496bb;text-decoration:none;">www.betawerk.nl</a></td>
                    <td style="font-family:Arial, Helvetica,
                      sans-serif;font-size:13px;line-height:18px;color:#333333;"><br>
                      Service desk open van 9:00 - 12:00 en 13:00 -
                      16:30<br>
                      Telefoon 045 - 574 11 81 <br>
                      <a href="mailto:support@betawerk.nl"
                        style="color:#4496bb;text-decoration:none;">support@betawerk.nl</a></td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
          <tr>
            <td><br>
              <em style="font-family:Arial, Helvetica,
sans-serif;font-size:12px;line-height:18px;color:#666666;font-style:italic;">Dit
                e-mailbericht is uitsluitend bestemd voor de
                geadresseerde. Als dit bericht niet voor u bestemd is,
                wordt u vriendelijk verzocht dit aan de afzender te
                melden. Aan dit bericht kunnen geen rechten worden
                ontleend.</em></td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>