title: Trying to get value from array, drupal
body: <p><img src="https://i.stack.imgur.com/d7Sb7.png" alt="enter image description here"></p>
  
  <p>I am trying to get the value from the array below tried both     </p>
  
  <pre><code>print $node-&gt;field_equiryform_custmessage[0][0];
  </code></pre>
  
  <p>and </p>
  
  <pre><code>print $node-&gt;field_equiryform_custmessage[0]['value'];
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks</p>