Variable not being a variable with fwrite : <p>I wanted to ask, how I can write down a variable without it's getting detected as one.</p>

<p>As example:</p>

<pre><code>$data = &lt;&lt;&lt; DATA
&lt;?php
$dbServername = $_POST["admin"];
?&gt;
DATA;
</code></pre>

<p>$dbServername shouldn't be a variable, but $_POST["admin"]; should be one.</p>

<p>I want, to write with fwrite the $_POST["admin"] variable into a document. But when $dbServername also gets detected as a variable, but it should be one, it throws errors.</p>

<p>Any Idea how to fix this?</p>
