my php search program returns results in a list format, displaying the name and description of the rows that match the search string. Instead of displaying the ENTIRE description on the results page, I want to display the first line or so of the description.
Example:
What happens right now:
Search Results:
1 John Doe - John Doe is an outstanding man. Having a very generic name, he is well know and blah blah blah blah blah.
2. Jane Doe - Jane doe is an outstanding woman. Having a very generic name, she is well suited for her husband John.
What I'm trying to make happen:
Search Results:
1. John Doe - John Doe is an outstanding man.....
2. Jane Doe - Jane Doe is an outstanding wom.....
2006-09-30
00:41:43
·
4 answers
·
asked by
detroitkid17
2