Jump to content

[SOLVED] Best way to make script have a good look? Template System?


A2xA

Recommended Posts

if that is the only one page i guess yes.

 

but when i'm working on a site that has lots of pages i separate html pages form php

 

so i have this folder on all my project

images

template  <-html files

css <--styles

lib <-- classess and functions

 

Link to comment
Share on other sites

here what i always do..

 

sample i have pages like.. index.php, contact.php, about.php etc..

I placed them outside the folders..

 

so i will end something like this

 

image<---folder

classess<--folder

templates<-- folder

css<-- folder

index.php

contact.php

save.php

 

edited.. incase you dont know includes and require this are what you need in this kind data organization

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.