Hey peeps,
Have a little question right here.. I have a searchengine like function inside my webpage.. now when a word maches, I get the whole text retuned from my database.. Now what I want, is (like google) show the text, about 25 characters before the found word, and 25 characters after the fount word... and bold the fount word...
Bold the found word won't be a problem... I can ereg_replace it...
But showing the 50 characters surrounding the word will be.. anybody got a solution?