Re: Re: Developing a Guestbook

OK, so we need to have some variables in this guestbook that are easy to define, at the begging of the document, such as info for the MySQL database, and colors, and a few other things… here are a few that i have thought of for now, note this is scripted as it would be in php, so you can once again see how i would do it.this would be Guestbook_Config.php//CONFIGURATION//Edit the following lines of code to configure your Guestbook//MySQL Database information, this section is for the Mysql info only//The hostname is normally the ip of the computer that the server is running on, normally this would be localhost, signifying that it is running on the same computer$Hostname = 'Hostname';//The username, needed to login to the database, default is root$Username = 'root';//Password, also needed to login to the database, default is blank (note it goes between the two ' characters)$Password = '';//Color, this is the color section, use it to change the look of your page//Background color$BGColor = 'White';//Text Color$Color = 'Black';//Table Properties, this would be the configuration for the table that the guestbook is in//Table border, how many pixels wide is the border around the table$TableBord = '0';//Table width, the width, in either % or PX (Pixels) of the table the guestbook is in$TableWidth = '80%';Once again, any criticism and or advice would be most welcome...