[SOLVED] please help - include ()
Posted: Thu Mar 16, 2006 2:08 am
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 to display the date in a master file, but the problem is the data becomes cumalative. For instance,
Sample Index.php
Output fron index file.
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.
Code: Select all
include('filename')Sample Index.php
Code: Select all
<?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;
?>Code: Select all
0 16 20 46 77 108 116 116 11111111Could someone pop me a substitute for include() which would allow me to display the data.