I have a few php files from which i have calculations being done in them before spitting out an output through 'echo'. I thought of using a few instances of
PHP:
include('filename')
to display the date in a master file, but the problem is the data becomes cumalative. For instance,
Sample Index.php
<?php
$b155 = include_once('b155.php');
$b160 = include_once('b160.php');
$b165 = include_once('b165.php');
$b170 = include_once('b170.php');
$b175 = include_once('b175.php');
$b180 = include_once('b180.php');
$b185 = include_once('b185.php');
$b190 = include_once('b190.php');
echo $b155;
echo $b160;
echo $b165;
echo $b170;
echo $b175;
echo $b180;
echo $b185;
echo $b190;
?>
Output fron index file.
0 16 20 46 77 108 116 116 11111111
I thank you in advance and will thank you again if you can help me. Please....
Could someone pop me a substitute for include() which would allow me to display the data.