Results 1 to 2 of 2
-
05-17-2010, 04:16 PM #1Newbie
- Join Date
- Nov 2002
- Posts
- 8
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.
-
05-17-2010, 09:39 PM #2Newbie
- Join Date
- Nov 2002
- Posts
- 8
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
-
[ HTML / PHP / MySQL ] Integrating a search feature into an HTML website
By calidude in forum Programming DiscussionReplies: 2Last Post: 03-25-2008, 05:26 AM -
What is the hex color code for this (picture) ??
By PCplayground in forum Web Hosting LoungeReplies: 8Last Post: 01-31-2004, 03:44 PM -
PHP / HTML code work I need done
By 2Guns in forum Design OffersReplies: 3Last Post: 08-31-2003, 09:12 PM -
What html code do i need to integrate a domain search on my homepage?
By critical in forum Domain NamesReplies: 1Last Post: 10-14-2002, 02:06 PM -
how do i get the hex colour codes using gimp???
By matt2kjones in forum Web Hosting LoungeReplies: 2Last Post: 09-07-2002, 10:59 PM