![]() ![]() |
Dec 25 2006, 09:04 PM
Post
#1
|
|
|
Full Member Group: +Zenith User Posts: 92 Joined: 6-February 06 From: Mendoza, Argentina Member No.: 3,240 ![]() |
Dear Friend.... ¡Merry Christmas!
One question: - It is possible to make the search not only in titles of images, but also that it looks for in descriptions of the uploaded photos? I hope that you help me. Greetings and thank you very much! LUIS |
|
|
|
Dec 25 2006, 09:16 PM
Post
#2
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hey! See this: http://cyberiapc.com/forums/index.php?show...;hl=description
But try replacing userDefinedColumn with description -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Dec 26 2006, 03:51 AM
Post
#3
|
|
|
Full Member Group: +Zenith User Posts: 92 Joined: 6-February 06 From: Mendoza, Argentina Member No.: 3,240 ![]() |
Hi:
I try replacing this code: CODE //queryString if(strlen($queryString) > 0) { if($strength == 0) $queryString = "keywords LIKE '%$queryString%'"; elseif($strength == 1) $queryString = "keywords = '$queryString'"; } with this: CODE //queryString if(strlen($queryString) > 0) { if($strength == 0) $queryString = "keywords LIKE '%$queryString%' OR description LIKE '%$queryString%'"; elseif($strength == 1) $queryString = "keywords = '$queryString' OR description = '$queryString'"; } But the result is in the attached file to this message: Single it shows to me the first photo with the looked for thing and me it often repeats it, does not show the rest to me of coincidences. As I can solve this error? Greetings. LUIS |
|
|
|
Dec 31 2006, 07:21 PM
Post
#4
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Sorry for the very late reply. Please see the post further down in that thread: http://cyberiapc.com/forums/index.php?s=&a...ost&p=41393
It should fix the problem for you. If not, let me know. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
Jan 1 2007, 06:07 AM
Post
#5
|
|
|
Full Member Group: +Zenith User Posts: 92 Joined: 6-February 06 From: Mendoza, Argentina Member No.: 3,240 ![]() |
That's work! THANKS!!!!
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 12:24 AM |