SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Search box

  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Search box

    Hi everyone, I'm new here and not exactly sure where to post this.

    I'm building a photo gallery web site at work to showcase the photos of the personnel on our project. I used a CSS design template that came with Dreamweaver, and it includes a simple search box in the navigation sidebar.

    I'd like viewers to be able to type a person's name (first, last, or any part) in the box to find the person within the site if they so choose. It won't need "advanced search", just a simple one-box form.

    I have a few questions to get started:
    1. What is the current standard tool or scripting language for this?
    2. Is there a template somewhere to copy/paste into a file?
    3. Do I save that file in the home directory?

    What else do I need to know/learn/research?

    Thanks!
    Yen

  2. #2
    SitePoint Enthusiast Grayson's Avatar
    Join Date
    Jun 2008
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i would consider looking into PHP & MySQL.

    MySQL is an open-source data base which will allow you to store the searchable 'tags' and the filenames for reference.

    PHP is a server-side language which will allow you to handle the data passed from the form, query the database and pass the appropriate image back to the viewer.

  3. #3
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, Grayson. Using PHP & MySQL, would they be easy to maintain? As people move around and leave the organization, their photo would move to another section of the site. Therefore, would I also need to modify the database as these changes occur?

    I'm not a programmer but I'm willing to learn whatever it takes.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •