I have a database in mysql and i want to show only the first 200 caracters of the description and then have a read more button - where a visitor can then go on to read more.
This is my code:
"SELECT * , LEFT(description, 200) AS description FROM tbl_whatever" // limits column description to 200 characters and assigns it an alias 'description'.
« Reply to Shorten the description to 200 caracters