Shadow Blade
Morrowland Presents Apron Tutorials
game - design - multimedia - web - programming - tutorials - There are currently viewers visiting Apron Tutorials.
   
 
TECHNICAL
GRAPHICAL
SOUND
GAME
WEB
ARTICLE
TOOL
PROJECT
 
 NEWS

  news

  history


 TECHNICAL TUTORIALS

  opengl

  direct3d

  c/c++

  visual basic

  java

  c#


 WEB TUTORIALS

  html

  dhtml

  asp

  php


 IMAGE EDITING

  photoshop

  draw sketch


 3D MODELING

  3d studio


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 DEMOS

  win32 api


 ARTICLES

  general

  opengl


 COMMUNITY

  about us

  credit

  contact






GUESTBOOK IN ASP
In this tutorial I will show you how to make a guestbook on your site. I will use a text file to store the data that the guests come with.


The Database

I use a table, tbGuestBook, to store the data into.
This table has a ID, Name and Topic column.


display.asp

First I make a basic html page where the user can write name, topic and message.


insert.asp

When you submit the form in display.php, the data must be stored someplace. Here I will use a textfile to store the message and store the title and name in a database. If you are not familiar with textfiles or databases and asp, you can read the tutorials in the asp section concerning this. View code for insert.asp


wrapperclass.asp

In order to not get to confused, I have wrapped the methods for updating the database and textfile into a class. This class is used in the insert.asp. View wrapper class


listguests.asp

I have made an own file that lists the content the guests have written. I include this in the display.asp so the content get listed under the guestbook. View Source for this file



Download The Source


PROJECT DESCRIPTION
Category Programming with ASP
Author Tommy Johannessen





Ronny André Reierstad
Morrowland All rights reserved Morrowland © 2002 Apron Tutorials

 LINKS

  morrowland home



 GAME DEVELOPEMENT

  nvidia

  gamedev

  polycount


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 MATH AND PHYSICS

  mathworld

  physicsworld







PLEASE LINK TO


  All rights reserved Morrowland © 2007  
Ronny André Reierstad