4
I have a table that is filled with data from a bank. One of the columns contains text that is sometimes long ( more than 1000 characters). I want to limit the display of this text in the table to 300 characters and add a "read more" button if the user wants to display the rest.
I know you can do this by adding a markup to the text with HTML and the function toggle
jQuery, but as the text comes from the database, I cannot insert this tag.
Is there any other way?
How you populate the data on the screen?
– Laerte
Return the query data to the database, printing with PHP
– Amanda Lima