I want to set up my screen in a rather standard way: a top, the middle divided in three (left,mid and right) and a bottom. Not too difficult with a few tables.
The problem I have is that for most pages only the mid part is different. As I want to code everything only once (just to keep it maintainable) I wanted to do something like:
MakePage(&function);
where function is a page specific function that just fills the mid of the page. However this something I know how to do in C. I don't know how to do this in PHP.
My question are:
1. How do you do this in PHP?
2. Is this standard coding practice. How do other people handle this?
Please give me your input!
Thanks,
Wim