![]() |
Help for a newbie
Hi
This is my little problem: PhpDig works fine but when the result is displayed, the word that I searched is followed by \3 Exemple: I look for the word apple The result is : bla bla bla bla bla apple\3 bla bla bla bla So my question is : How can I delete this \3 Thanks in advance and sorry for my very bad english.:) |
Hi,
From your name, I guess you're trying to show results in French? I had the same problem, but when I changed the value of $phpdig_language in includes/config.php, it corrected itself. Hope this helps. |
Hi Yapuka
Thanks for your answer. You're right, I tried to show results in French. But unfortunetly, your tip doesn't seem to work. I tried $phpdig_language ="en" and $phpdig_language ="fr" (and other languages) but it doesn't change anything. But you gave me an idea: I opened libs/phpdig_functions in line 148: $string = @eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",@eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",$string)); and I replace with: $string = @eregi_replace($ereg,"\\1<^#_>\\2</_#^>\\3",@eregi_replace($ereg,"\\1<^#_>\\2</_#^>",$string)); Now the result of the search appeared without \3 at the end of the word, and PhpDig works fine althought this change. As I don't understand PHP, I don't know if this change is critical, so don't imitate me :p :p :D |
All times are GMT -8. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.