Search string - multiple words Search string - multiple words
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Search string - multiple words

Started by mboesen, November 05, 2009, 10:29:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mboesen

Hi

I think (and hope) this is an easy one, but I am not that much into coding that I can figure it out by myself. Have tried with a "+" and "AND", but it doesn't seem to work.

I use the following search string (gotten in here) for direct links from other website

http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=XXXXX

If I want the XXXXX to be two or three words that should be searched on, then how do I write that?

Link:
http://www.fodboldfotografen.dk/coppermine14x/index.php

Thanks for your time

Joachim Müller

Quote from: mboesen on November 05, 2009, 10:29:30 AMHave tried with a "+" and "AND"
huh?
The plus-sign (+) works exactly as advertized: the URL http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=Caroline+Venus will search for "Caroline" AND "Venus" and will return both the pics from Caroline Wozniacki as well as Venus Williams.

mboesen


mboesen

Sorry I thought I could edit the post, but accidentally marked it as solved.....

Just to clarify.....

Does the + mean that both words should be represented (I don't think so) and what if I want to specify that both words are required. How do I do that. If it can be done

mboesen

I'll try to clarify more......

If I have two photos with the keywords

Michael Larsen

Michael Jensen

(I don't, but just as an example)

Then when I use the following search

http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=XXXXX

then I would like to be able to use both names like "Michael+Larsen" and only get that one picture, but "Michael+Larsen" will also return the other Michael..... If there a search string that will return only the photos where both (or more) words are represented?

Sorry again for the mix up with solved and editing post, which I couldn't......

Michael

Joachim Müller

That's currently not a feature afaik.