Im new with php. Have some questions on how to build. I include everything in index.php. Ex:
ob_start.. html... functions etc.. if ($_GET['page'] == "forum") include('forum.php'); elseif ($_GET['page'] == "profile") include('profile.php'); else error...etc /html...
I do it this way because I dont like to have to include a page in top of all page with information i need. Is there i better way then this 2? How do you structure your pages?
Exuse my english but i think you understand ;)
Remy