Cannot save variable text to file
<p>I am having a problem with this code:</p>

<pre><code>$myvariable = "&lt;?php $user_id = '5'; ?&gt;";
</code></pre>

<p>...now I then write it to file using php...</p>

<p>and this is what I see when I open the saved file:</p>

<pre><code>&lt;?php  = '5'; ?&gt;
</code></pre>

<p>$user_id is missing!</p>

<p>Why is this happening and is there a way to fix this problem?</p>
