creating a new website (request helpfull hints)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
thomasd1
Forum Commoner
Posts: 80
Joined: Sat Nov 22, 2003 2:48 pm
Location: Belgium

creating a new website (request helpfull hints)

Post 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:
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post 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");
?>
Last edited by malcolmboston on Thu Jan 22, 2004 7:16 am, edited 1 time in total.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post 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
Post Reply