Creating a seperate php file possible {SOLVED}

I have alot of variables on a calculator that im creating I would like to put them on a seperate page to help clean up some of my code to make it easier on my eyes. Is this possible. I was looking around and saw this and was not sure if i could use it in this sense. If im right is there anything i need to add to either page to make it work. Thank in advance.

[php]
include(‘variable.php’);
[/php]

Indeed you can use the INCLUDE statement.

The only thing you really need to do is make sure it’s formatted properly which basically means to write it like it were a stand alone php page (with the opening and closing php tags.)

Sponsor our Newsletter | Privacy Policy | Terms of Service