How can I use a variable to create another variable so that the output is not the content of the new variable but the php code for the new variable?
If variable $a = "house"
and the name of the final variable is $b,
then how do I produce variable $c so that the result of echoing $c is the php code:
<?php $b = "house"; ?>
The context is that I am using one file to write another file. The second file needs to contain the line, <?php $b = "house"; ?>, which has been constructed by variable $c in the first file.
I appreciate the help.