Jump to content

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


A2xA

Recommended Posts

I have been working on a simple image upload script that is hosted on one of my sites right now.

 

it can be viewed here:

http://wiicharged.com/10

 

I need to know how to make it look better?  If i should just put the actual html inside the index.php or use some sort of template system?  Thanks!  All help is greatly appreciated  ;D

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

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.