i have a perfectly functioning php page. a bit of HTML, with the usual simple mySQL/php to build from database, etc.
everything works great.
when i split the file up into some pieces:
top.php
middle.php (includes in top.php and end.php)
end.php
now it doesnt work so well 🙂
variables seem to be empty in top and end, but work ok in middle.php.
its a bit strange. probably very easy and obvious, but i just can't quite tell whats going on since, from PHPs perspective, i don't see how the code is any different from a single file.
thanks in advance for any help!