Menu
Hi All
This is really strange.
I have two php progams, one is an include into another but every time I run the main php file the output adds a number “1” at the end. To demonstrate I have simplified the programs right down.
Main program file
<?php
$t1=”tx.php”;
echo include($t1);
exit;
?>
The included file
<html>
<body>
<p>Hello World</p>
</body>
</html>
The output
Hello World
1
Why does it put the “1” at the end of the output? Any clues appreciated.
MaxDax