title: CodeIgniter's form_hidden
body: <p>How do I achieve this:</p>
  
  <pre><code>//view.php
  &lt;input type="hidden" name="Name" value="&lt;?php echo $variable-&gt;id; ?&gt;"
  </code></pre>
  
  <p>using CodeIgniter’s form_hidden helper:</p>
  
  <pre><code>//view.php
  &lt;?php echo form_hidden('Name','&lt;?php echo $variable-&gt;id; ?&gt;') ?&gt;
  </code></pre>
  
  <p>The first one works fine when I display $variable->id but CI's form_hidden doesn't work.</p>