PHP
  Home arrow PHP arrow Building a Quick and Easy Tag Board
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Mobile Linux 
App Generation ROI 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Building a Quick and Easy Tag Board
By: Haiden Taylor
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 2 stars2 stars2 stars2 stars2 stars / 117
    2004-11-03

    Table of Contents:
  • Building a Quick and Easy Tag Board
  • Did Anyone Say MySQL?
  • Our Tag Board Script
  • What Makes Our Tag Board Tick?
  • Our Tag Board Functions!
  • Retrieval and Sorting of Tags
  • Results
  • doBoard() Function
  • doInsert() Function
  • Ensuring Data Submitted Does Not Fail
  • Inserting into the Tag Board

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building a Quick and Easy Tag Board


    (Page 1 of 11 )

    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.

    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


       · You should run your input through htmlentities(), too, so you can defeat most common...
       · Especially as a HOWTO undoubtably aimed at new(er) PHP users, I think the code fails...
       · @Andre,While I agree with your comments to a degree and I do think you make very...
       · Why not use the timestamp type for a timestamp, with default = UNIX_TIMESTAMP, it is...
       · Or you could use the DATETIME format and insert data with the NOW() function. :)
     

       

    PHP ARTICLES

    - Authentication Scripts for a User Management...
    - Utilizing the Use Keyword for Namespaces in ...
    - Building a User Management Application
    - Working With Different Namespaces in PHP 5
    - User Management Explained: Overview
    - Using Namespaces in PHP 5
    - Database Security: Guarding Against SQL Inje...
    - Building a Modular Exception Class in PHP 5
    - Database and Password Security for Web Appli...
    - Handling MySQL Data Set Failures in PHP 5
    - Building Site Registration for Web Applicati...
    - Intercepting Customized Exceptions in PHP 5
    - Securing Your Web Application Against Attacks
    - Sub Classing Exceptions in PHP 5
    - Authentication for Web Application Security





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT