I was wanting to know how to display the first 20 characters of a mysql query then putting "..." after that.
For example say the result of the query is:
The old man jumped over the fence. I couldn't believe how high he could jump. Suddenly, he fell and broke his hip and from then on he was in the nursing home. Ahhh the pity of the old man.
Let's just say I wanted it to show:
The old man jumped o...
How is this possible?
Thanks in advance for any help!