PDA

View Full Version : PHP Layout



Smeagol3
17 Nov 2008, 08:05 PM
For a social networking site written mostly in PHP, which would be better:

every page is actually a separate page ex:(./profile.php)
or
every page is part of index.php ex:(./index.php?page=profile) ?

Of course, every page will have have the same header, footer, and left-side navigation.

Thanks.

F50
20 Nov 2008, 04:50 PM
I think that the modular architecture for a social networking is better, i.e. use index.php?page=profile