title: smarty - how to output the variable "{$myvar@display}"
body: <p>I can't seem to find a way to escape the "@" sign in a smarty variable output block. </p>
  
  <p>Here's my setup:</p>
  
  <pre><code>$data = array("myvar@display"=&gt;4534534);
  $smarty-&gt;assign($data); 
  </code></pre>
  
  <p><a href="http://www.smarty.net/docsv2/en/api.assign" rel="nofollow">Assign doco here</a></p>
  
  <p>In my template file:</p>
  
  <pre><code>&lt;body&gt;
   {$myvar@display}
  &lt;/body&gt;
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>Message: Undefined property: Smarty_Variable::$display
  </code></pre>
  
  <p>Any ideas how I can display that without changing the "@" sign (I am unable to modify this as it is a convention used throughout the application and I do not have control over this)</p>
  
  <p>Running LAMP 5.2.17, Smarty 3</p>
  
  <hr>
  
  <p>PS I've tried this without success...</p>
  
  <pre><code>{assign var=jason value="$myvar@display"}{eval var=$jason}
  </code></pre>
  
  <p><em>output</em></p>
  
  <pre><code>4534534@display
  </code></pre>