Hi gang,
I have written a basic search engine that prints out a description field in it's entirety (the field is a text area),
so the mysql query is literally
description LIKE %$description%
and for the entry BLAH BLAH, it prints out the whole of the "description" field in the DB.
What I actually want it to do is print out, say, 50 characters either side of the actual "BLAH BLAH", with the entry "BLAH BLAH" being bolded
Can it be done?
Thanking you!
Adrian