Jump to content

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


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

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.