PDA

View Full Version : No brackets in output


roger
05-21-2004, 02:11 PM
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:

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

and replace with:

//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??