title: How to concatenate a var with using php
body: <p>Hi I have this code <code>$node-&gt;field['un']</code> but that sentence is repeated a lot of times, I want to do this:</p>
  
  <pre><code>$varstring="value";
  node-&gt;$varstring['un'];
  </code></pre>
  
  <p>But I cant do it, how cant i replace <code>field</code> for my var <code>$varstring</code> i want to replace <code>field</code> with <code>$varstring</code>.</p>
  
  <p>Could you please help me?.</p>