write double quote in file using php?
<p>I want to write the following string in php using fwrite but i cant write that
string to be write is <code>$config['xxx']</code> :
it shows the error
can anybody help me?</p>

<p>here is my code</p>

<pre><code>$stringData = "$config['xxx']";
 fwrite($fh, $stringData);
</code></pre>

<p>I have the following error</p>

<pre><code>Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in D:\xampplite\htdocs\PHP test\filecreate.php on line 6
</code></pre>
