Show more/less on PHP value

The code:

<p><?= $row['courseInfo']; ?></p> 

How to make a show more/less button with a limited number of characters. But when touched show more shows all the text there is, when show less it goes back to the limited number of characters.



from Recent Questions - Stack Overflow https://ift.tt/3urpOav
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation