title: How does the smarty assign function work?
body: <p>The code inside an HTML file is like this:</p>
  
  <pre><code>{assign var="url" value="/?user&amp;q=code/approve/myapp"}
  </code></pre>
  
  <p>when loading page, the server returns error code 500.</p>