php variable inside string
<p>I wanted to use a variable instead of setting the filename by string. It didn't work, so how can I do that?</p>

<p>I tried like this:</p>

<pre><code>header('Content-disposition: attachment; filename=$filename');
</code></pre>

<p>But it returns "$filename" as filename, not the variables value.</p>
