Are the pictures already referenced in the database? What information is associated with them? (such as keywords or descriptions that could be searched) The way I would think to do it would be to set up a simple HTML form with a text box that, on submit, queries the database for a recordset containing all pictures whose description/keywords are like what the user entered, and then looping through it to display links to them on the page.
I'm still trying to figure out how to work with databases in PHP, but I am fairly familiar with ASP (which pretty much does the same thing as PHP, only running on a Windows-based server). So I'm not sure if any of that makes sense but if you need any more help or specifics then let me know. Alternately, you could probably find something that's already written (such as the Google) that would do the same thing.
HTML HTML
#16
Posted 22 June 2005 - 06:12 PM
Head Gunner for the Royal Sloop Crimson Steel, Queen of the Dead, Instigator of Chaos and Confusion, Knight of the Grand Recursive Order of the Lambda Calculus, and also The Non.
Remember Emu's face, people; one day it's going to be on the news alongside a headline about blowing some landmark to smithereens, and then we can all sigh and say, "She was such a normal person".....
....We'd be lying though.
-Laughlyn
If my doctor tells me to exercise, I am going to force him to do my homework.
-Mirithorn
- Do Not Use the Elevators - deviantART - Infinite Monkeys -
Remember Emu's face, people; one day it's going to be on the news alongside a headline about blowing some landmark to smithereens, and then we can all sigh and say, "She was such a normal person".....
....We'd be lying though.
-Laughlyn
If my doctor tells me to exercise, I am going to force him to do my homework.
-Mirithorn
- Do Not Use the Elevators - deviantART - Infinite Monkeys -
#17
Posted 22 June 2005 - 06:39 PM
Just let someone else do the hard work and get an existing php script with a keywords search option
Snipe gallery
Or try looking for something over at Php resource,
Snipe gallery
Or try looking for something over at Php resource,
#18
Posted 26 June 2005 - 03:38 PM
Thank god for PHP Resource! I've found what looks like a rather handy little script, and now I've just got to actually make the specific pages its going to be searching. Thanks kids!
When you lose your calm, you feed your anger.
Less Is More v4
Now resigned to a readership of me, my cat and some fish
Less Is More v4
Now resigned to a readership of me, my cat and some fish