PDA

View Full Version : Simplest Guestbook code?


Abaddon
11-23-2004, 11:27 PM
Hey everyone! It's been a while since I posted...

I trust everyone is fine and dandy!

Anyway, let's get to business.

I am starting PHP and would like to learn more about this wonderfully easy language.
Could someone show me the most basic guestbook you could find (just like name and message) so I can learn from it? I have already learned how a form works, and permissions and whatnot so I decided to learn to make a news system. I will start off small with a guestbook like news system and slowly build up from there.

Help is much appreciated. :)

123456789
11-26-2004, 09:55 AM
I can make something like a guestbook:

Check out the thread I started about tagboards:

http://www.htmlforums.com/showthread.php?s=&threadid=48915

Joe
11-26-2004, 12:21 PM
Probably about as basic as you can get:
http://www.joe2torials.com/php_guestbook.php

123456789
11-26-2004, 12:27 PM
You'll need MySQL. If you don't have MySQL, you can install it on your own computers from http://www.mysql.com, or have PHP/MySQL support with 100Mb space at http://www.100webspace.com

sysera
11-27-2004, 06:56 AM
Originally posted by joe2kiss
Probably about as basic as you can get:
http://www.joe2torials.com/php_guestbook.php

You could use a flat text file to store the information as well.

Joe
11-27-2004, 02:21 PM
Originally posted by sysera
You could use a flat text file to store the information as well. The tutorial uses MYSQL, to edit it to use flat files instead would be a difficult and unnecessary job. Much easier to use a database :)

Abaddon
11-28-2004, 05:47 PM
Thank you all, the door to PHP has been opened to me and I can make a news system now.:D

Thanks alot. :)