Good day!
I just to ask why require_once function display the content of the whole page in the second page?
I have two pages index.php and mem_accnt.php. I have session in index.php. Now i need to get the session in index.php and display it in mem_accnt.php. In order to get the session value, i need to put this code at the top of mem-accnt.php.
<?php require_once('index.php'); ?>
But why is it that the whole content of index.php will display in mem_accnt.php?
pls help..thank you!