...

View Full Version : help making a guestbook...



mia_tech
08-14-2008, 01:31 PM
guys could someone help me on making a very simple guestbook... I've search on google, but all of the ones found come with lots of pages, and folder, not difficult to get it to work, but I would like a simple script I just could add to one of my pages....

thanks

www.pctechtips.org

SSJ
08-14-2008, 01:59 PM
It's a really a very easy. Here is a very good tutorial given for the same:
http://www.php-mysql-tutorial.com/mysql-php-guestbook.php

Hope it helps...

mia_tech
08-15-2008, 01:03 PM
I'm following that tutorial, but first I had problems with the config.php and opendb.php file, which could not establish connection to mysql, I decided to put the code in the main page the guestbook.php after that I was able to insert the comments in the table, but when it comes to put the output on the paget all I get is white lines, but I can read the post, I guest something is wrong with the formatting of the html output to the page... here's what the post looks like....
http://www.pctechtips.org/pwn3d/guestbook.JPG

any suggestions appreciated

thanks

www.pctechtips.org

masterofollies
08-15-2008, 02:19 PM
I could write you a simple one that does the trick.

All you need is a form, and an insert query. Easy to fancy up.

mia_tech
08-15-2008, 02:48 PM
lol....after looking and looking I didn't find one that I could use, most of them use lots of files, and all I wanted was a simple guest book if possible done in a single page, I decided to write one on my own......but yes if you want to post your code I sure appreciate


thanks

www.pctechtips.org

kbluhm
08-15-2008, 03:57 PM
If I may throw in my two cents here, guestbooks are sooo 1997. :thumbsup:

In 2008 we do blogs with comments, interactive communities, etc.

mia_tech
08-15-2008, 06:26 PM
If I may throw in my two cents here, guestbooks are sooo 1997. :thumbsup:

In 2008 we do blogs with comments, interactive communities, etc.

what app would you recommend for making a good looking blog

ninnypants
08-15-2008, 06:28 PM
Just use Wordpress (http://www.wordpress.org) it's free and it isn't very hard to install or modify

mia_tech
08-15-2008, 07:47 PM
yeah, I've wanted to try that for a long time, but it's not included in my web hosting plan....



www.pctechtips.org

mia_tech
08-16-2008, 01:12 AM
yeah, I've wanted to try that for a long time, but it's not included in my web hosting plan....



www.pctechtips.org

actually they do have it.....

ninnypants
08-16-2008, 01:22 AM
Yeah as long as you have PHP and MySQL support you can run wordpress

masterofollies
08-16-2008, 02:21 AM
You should still write your own, even a blog is really easy to do. Making it custom is much better, and then you don't need to put their copyright and name on it.

ninnypants
08-16-2008, 02:44 AM
Yes but wordpress doesn't require that you display their copyright they just ask for your support by displaying it

mia_tech
08-21-2008, 02:41 AM
If I may throw in my two cents here, guestbooks are sooo 1997. :thumbsup:

In 2008 we do blogs with comments, interactive communities, etc.

well is always good to know how to actually do it (coding), that way you understand the inners of the application.... "anyone can point and click"


www.pctechtips.org

masterofollies
08-21-2008, 03:10 AM
Like I said I could help you

kbluhm
08-21-2008, 05:15 AM
well is always good to know how to actually do it (coding), that way you understand the inners of the application.... "anyone can point and click"


www.pctechtips.org

I didn't say you shouldn't write your own app... just maybe something other than an archaic guestbook.

Zangeel
08-22-2008, 02:45 AM
i made a guestbook real easy.. it's simple, have a form, make it insert the entries in a database, then output the messages

mia_tech
08-22-2008, 03:17 AM
thanks a lot.... I finally decided to do my own from scratch, it wasn't hard to do... mine was very simple

here's the guestbook/comments app

http://www.pctechtips.org/pwn3d_login.php

masterofollies
08-22-2008, 04:07 AM
Looks good



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum