_maxi
08-22-2008, 09:21 PM
Hi.
I don't know if its convenient to do what I do. I put all the page in a index.php file, which calls via require the content of the section. I get the section variable by url (get), and then ask with a switch for the section variable, and include the file of the section that is asked.
Is that wrong? would you recommend to do it in other way?
I don't know if its convenient to do what I do. I put all the page in a index.php file, which calls via require the content of the section. I get the section variable by url (get), and then ask with a switch for the section variable, and include the file of the section that is asked.
Is that wrong? would you recommend to do it in other way?