is this possible to show limted no number of text from a mysql record .
for example i run this query
SELECT DISTINCT short_descripti on FROM news_contents ORDER BY postdate DESC LIMIT 1
and if the record's length is greater than 50 i dont want to print any more text after 50 for example
123456789101112 131415161718192 021222324252627 282930313233343 536373839404142 434445464748495 0.............. ......
thanx for any help in advance ...........
for example i run this query
SELECT DISTINCT short_descripti on FROM news_contents ORDER BY postdate DESC LIMIT 1
and if the record's length is greater than 50 i dont want to print any more text after 50 for example
123456789101112 131415161718192 021222324252627 282930313233343 536373839404142 434445464748495 0.............. ......
thanx for any help in advance ...........
Comment