-
Weird
I have a php file to process some info, and i need it to enter some PHP code into another php file. So say the processing php file came up with $y = "2"; I need to echo this into a new php file
<?
Some php code here that will be in the new file. Now I need to somehow get the data of $y in this file....
?>
If that makes sense...
And I know you can put a \ before a $ to make it literaly enter that...but is there an easier way to enter mass amounts of code? And Still have SOME variables show :x
-
Re: Weird
I think you'd have to use the file handling functions in PHP to open the PHP file, write to it and then close it.