Home arrow PHP arrow Building a Quick and Easy Tag Board

Building a Quick and Easy Tag Board

Tag boards enable users to leave a short message on your site without having to go through the trouble of registering. From a development point of view, they are actually rather simple to develop. In this article we will create a quick and easy tag board for any web site. We will be taking advantage of the php and MySQL technologies.

TABLE OF CONTENTS:
  1. Building a Quick and Easy Tag Board
  2. Did Anyone Say MySQL?
  3. Our Tag Board Script
  4. What Makes Our Tag Board Tick?
  5. Our Tag Board Functions!
  6. Retrieval and Sorting of Tags
  7. Results
  8. doBoard() Function
  9. doInsert() Function
  10. Ensuring Data Submitted Does Not Fail
  11. Inserting into the Tag Board
By: Haiden Taylor
Rating: starstarstarstarstar / 120
November 03, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Introduction

Tag boards enable users to leave a short message on your site without having to go through the trouble of registering. They are the new age guestbook, and apart from giving the visitors to your site a voice, they are sure to make your friends envious too.

From a development point of view, they are actually rather simple to develop. In this article we will create a quick and easy tag board for any web site. We will be taking advantage of the php and MySQL technologies, and a basic knowledge of both is assumed.

Please note: Developing an administration area and securing it is out of the scope of this article. Therefore we will not be incorporating the ability to delete/edit tags on our tag board.

What is a Tag Board?

Tag boards, in most cases, usually consist of a content area (normally an iframe) and an input area where users can put their message, name and a URL. An example of this can be seen below:

 

Quick and Easy Tag Board


Our tag board in this case will be using a MySQL database to store its information. I will be developing the MySQL table so it will be easy for any user with an intermediate knowledge of using php and MySQL can easily develop the appropriate administration functionality.



 
 
>>> More PHP Articles          >>> More By Haiden Taylor
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap

Dev Shed Tutorial Topics: