PHP
  Home arrow PHP arrow Creating a Searchable Inventory System...
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

Creating a Searchable Inventory System: Setting Up Your Database and User Interface (continued)
By: Brian Vaughn
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2005-11-15

    Table of Contents:
  • Creating a Searchable Inventory System: Setting Up Your Database and User Interface (continued)
  • Helper Search Class
  • Our First Helper Search Function
  • Dynamic SELECT Menus

  • 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


    Creating a Searchable Inventory System: Setting Up Your Database and User Interface (continued)


    (Page 1 of 4 )

    In this second part of an article about setting up a searchable inventory system, we will cover our helper Search class, and some of the things this class will need to be able to do.

    In part one of this article we discussed setting up the basic elements required for our searchable inventory system: the backend database structure, the HTML and CSS code necessary to create our visual layout, and a helper Javascript function “attach_file” which we will be taking a closer look at later.

    So far, so good. Now that our overall program design has been created, we’re ready to start narrowing things down and we will start by thinking about our helper Search class. There is a variety of things this class will need to do, but for part two of this article we are only concerned with displaying a proper set of search form fields.

    We will need a function within our Search class to display appropriate form field objects for each of the items by which we wish to search. Let’s call this function “get_search_field”, and as a parameter let’s pass it the name of the field for which we wish to create an input field.

    More PHP Articles
    More By Brian Vaughn


       · Thanks to all of you who read this article. I would be glad to answer any questions...
       · Hy!I appreciated your article. The page that you provided for the seccond part of...
       · This code look fine to me, did you change the DB table variables to match yours, and...
       · Thank you as well.Which browser are you testing in? The page displays fine for...
       · Hy back! Now I got registered :) I tried last evening the code on your page...
       · hi there..thanks for the tutorial.I'm having a slign problem. I'm getting an error...
       · Perhaps it is a problem with your PHP install?Try reading...
     

       

    PHP ARTICLES

    - 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
    - Building a Content Management System with Co...
    - Filters and Login Systems for Web Applicatio...
    - Working with the Email Class in Code Igniter





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