PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   No brackets in output (http://www.phpdig.net/forum/showthread.php?t=950)

roger 05-21-2004 02:11 PM

No brackets in output
 
Hi. I've search the fora for 'brackets' etc. but to no avail.

The problem I have is that the results miss out brackets. So I get a result

"...Terms and Conditions Items must be a 'vegan', GMO Free and b either... "

instead of

"...Terms and Conditions Items must be a) 'vegan', GMO Free and b) either... "

Can this be amended.corrected?

Charter 06-19-2004 05:24 AM

Hi. In robot_functions.php find:
PHP Code:

//replace blank characters by spaces
$text eregi_replace("--|[{}()\"]+|</[a-z0-9]+>|[\r\n\t]+",' ',$text); 

and replace with:
PHP Code:

//replace blank characters by spaces
$text eregi_replace("--|[{}\"]+|</[a-z0-9]+>|[\r\n\t]+",' ',$text); 


roger 06-19-2004 06:44 AM

Thank you. Done that.

Query??

It may work for new searches - I haven't tried except to update the folder where the data was extracted from - which didn't help.

How do I get my database to bring up results with the brackets now that it already has logged answers for the query??


All times are GMT -8. The time now is 04:31 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.