problem with variables and file creation

In php I make a php file, and then put a string in it. The string contains variables like $row and stuff, but when passed to the file come up as the actual value that is in the variable.

How would I pass a variable into a new file, through a string, and have the variable stay the same, and not print the value in the new php file?

Lots of ways, but, lets see some code so we can see what you are doing and how to fix it.
Please put the code inside the PHP button above so it is easy for us to copy for testing…

Sponsor our Newsletter | Privacy Policy | Terms of Service