I'm not entirely sure how to do this.
This is for a search script. What I'd like to do is to not only identify which chapter certain text is in. but also parse and return say 50 characters on either side of the search term.
So if anyone knows the functions and structure to do this (not the DB access stuff, just the parsing of the results for the surrounding words) I'd appreciate it.