title: How to pass variables with cakephp link?
body: <p>I am using cakephp2.
  I want to pass a variable with a hyperlink,
  I use the code</p>
  
  <pre><code>$id=$this-&gt;Session-&gt;read('user.id');
  &lt;?php echo $this-&gt;Html-&gt;link('Edit','../posts/edit/$id');?&gt;
  </code></pre>
  
  <p>But it didnt print the value of $id. 
  It prints the url like,</p>
  
  <pre><code>localhost/blog/posts/edit/$id.
  </code></pre>
  
  <p>I need the url something like,</p>
  
  <pre><code>localhost/blog/posts/edit/33
  </code></pre>
  
  <p>How to solve it ?</p>