For part of my website I need to be able to write php code to a file with php. For example:
$filename = \"RtestR.php\"; $ourFileName =$filename; $ourFileHand
Finally figured this out! I needed to escape my $ symbols! Like this:
$
$written = " ";
Can't believe i didn't think of that ;) Thank you all!