Results 1 to 2 of 2
  1. #1

    I need PHP code for search by HTML HEX codes.

    As the title says, I need a PHP function or class that will search a database for exact matches and n number of close matches.

    The script should accept an HTML hex color code that will be selected by the user from a JQuery color picker. Don't worry about the javascript. I will handle that.

    What I have in my database is a table with two columns. I've already extracted color data from images. The color table contains two columns. Column 1 is an image id. Column 2 is a HTML hex color code.

    Your script should search the database for exact matches first then become lazier and include close colors. I will decide later how many close colors I want to include in the results. I assume this will be accomplish with a LIMIT clause in your query.

    If necessary I can convert the hex color codes into other values that are easier for your script to search.

    Please leave your AIM, MSN, or Yahoo contact info if it's not in your profile. Also leave the amount you will charge for this script.

  2. #2
    I no longer need help with this. I spoke with Jarrod at e-sensibility.com over AIM and he helped me to brainstorm a fast, simple solution.

Similar Threads

  1. Replies: 2
    Last Post: 03-25-2008, 05:26 AM
  2. What is the hex color code for this (picture) ??
    By PCplayground in forum Web Hosting Lounge
    Replies: 8
    Last Post: 01-31-2004, 03:44 PM
  3. PHP / HTML code work I need done
    By 2Guns in forum Design Offers
    Replies: 3
    Last Post: 08-31-2003, 09:12 PM
  4. Replies: 1
    Last Post: 10-14-2002, 02:06 PM
  5. how do i get the hex colour codes using gimp???
    By matt2kjones in forum Web Hosting Lounge
    Replies: 2
    Last Post: 09-07-2002, 10:59 PM

Posting Permissions

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