Page 1 of 1

creating a new website (request helpfull hints)

Posted: Wed Jan 21, 2004 2:04 pm
by thomasd1
hi
i need some guidelines on how to organize the process of making a new website
(things like: in php, organizing your header with dbinfo, session info, titles, and all...)
some helpfull hints..

thanks :wink:

Posted: Thu Jan 22, 2004 7:12 am
by malcolmboston
in order
- learn html
- learn basics of PHP

after you have done both of them you can start thinking about a site in both

heres what i do
- generally try to keep html and php seperate whenever possible (as everyone on this forum will tell you, it makes it alot wasier for the designers to understand
- put all of the database connection info into a seperate file using include like so

Code: Select all

<?php
include ("database_info.php");
?>

Posted: Thu Jan 22, 2004 7:16 am
by malcolmboston
if you are a PHP beginner go here

download a simple script, look at it and then refer back to the PHP manual here if you dont understand what a tag does