...

View Full Version : Php Query



Byronwells
01-06-2010, 05:57 PM
Alright Guys

I have a ph query for you please.. Im in the process of designing a php based website to run under my membership script.. See it here http://www.supreme-host.com/web/categories.php

At the moment I have create it all on one page. However I am just checking to see what would be the best way to, keep it as is or:

Create several php pages and then link to this one.. One php page for the left side bar column, and another one for the right side bar column?

Once I have set the left and right sidebar columns under the membership script admin, i.e categories... They will never change until I add a new one.. However the middle column will constantly change now matter what you are look at.. Just like in a wordpress blog..

Your thoughts please?

mlseim
01-06-2010, 06:19 PM
Correct ... make a PHP script for each section and then
simply use PHP Includes in your "main page template" to
insert the scripts (or pages) into your main page.

That will give you another feature also ... a section could
change it's appearance or permissions based on who is logged-in.

When someone is logged-in, a session variable gets set, so you can
read that at any time, from any script, and make decisions based off of that.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum