Quote:
Originally Posted by bigbrennan OK I have fixed it, not sure why but 'echo include' was messing it up. Replaced it with 'include' and it now works fine: |
The problem was in the initial version what you effectively had was this:
echo (so print out) include("banner_$random_banner_number.php");
What you wanted to do was not print out, but execute the function:
include("banner_$random_banner_number.php");
You dropped the echo function call and so PHP carries out the include function without interference.