JAGF - Just A General Forum

It is currently Jan 6th, '09, 13:09 • All times are UTC + 1 hour






Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [webdesign][5]Organize your data
PostPosted: Nov 1st, '08, 22:58 
Offline
New Gamer

Joined: Oct 31st, '08, 14:28
Posts: 42
Highscores: 24
How did you find this forum?: x10 forums
Organize your data is important it don't matter if it HTML, CSS, PHP, or database i will give you tips for most of the things


-always name files ( if you testing files don't just name them test.html say htmltest.html it will help for you to see what you learn and what you did before i myself no one tell me that so i usually put test.html and then delete it and now i forgot what i did and can't find it...)

-put CSS in different file in HTML doc put

<link rel="stylesheet" type="text/css"
href="mystyle.css" />


to link your css to html this will give the html style without add too much codings..

-in CSS file always put them in forms, put header first body middle footer last, this will help organize the data a lot

-PHP always put php codings before body (if able to do so)

-in PHP use varable which is putting a varable in HTML text instead of what you echo..

for exsample i want to echo welcome text

$welcome='Welcome to my website bla bla bla who care what to put'

then in html text you can put

<body><p><?php echo '$welcome' ?>

this way you can create a HTML file that have it styles and on the top you can have a list of contents to put like

$header='My website'
$subheader='design by ...'
$sidebar='this is a side bar..'
.
.
.

and then in the HTML you put

<title><?php echo '$header' ?></title>
<body><?php echo '$body' ?></body>
<sidebar><?php echo'$sidebar' ?></sidebar>

EVEN you can put the top part in other doc so you don't need to see the real coding--maybe you make a theme and people use the "change php" to change what they put...

PHP are very good codes you can put one doc into many different part easily
_________________
Image


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.

Design by phpBB 3 Skins & Forum Hosting | Modded by ExchangeCore

CSS Template by RamblingSoul | Sponsored By Bargain Finder