forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: okiem on June 03, 2008, 10:21:03 am

Title: Searching string - how to prepare?
Post by: okiem on June 03, 2008, 10:21:03 am
There is possibility to post link (on other page) to search result for particular word fe. "blabla"

Code: [Select]
http://mygalerydomain.com/coppermine/thumbnails.php?album=search&search=blabla
I can use there two words

Code: [Select]
http://mygalery.com/coppermine/thumbnails.php?album=search&search=blabla&search=mioumiou
and result wil search for any pictures with first OR second word.

Is there any possibilityto prepare link to result only to pictures with first AND second word ?

(Also any possibility to use in link for searching also another field, f.e. "user3")
Title: Re: Searching string - how to prepare?
Post by: gandolfi on December 13, 2008, 10:47:07 am
i have the same question:

i want to search two word or more with AND separator, with line command in php

&search=word1 word2 word3&album=search&type=AND

But they did not work, the result are with OR separator and not AND.