Topic: why the 'exit' on the dump() function.
Ok... using the dump() function cause me some real trouble... until i found out that that that was the casue of my problems.
The problem is that it has an "exit" that prevents some post code execution that might be useful.
I wrote this code:
http://punbb.org/forums/viewtopic.php?id=15830
and out of nowhere it output an incomplete page, i couldnt figure out why. Today i restarted writing the script and the same hapened. This time i just wrote a line of code before i refresh, fortunatly.
that was werd so i tryed a print_r() instead... the layout showed properly.
This is a super small detail, but, unless there is some reason i don't know about, i would suggest thar line to be removed.