2021-05-28

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

No comments:

Post a Comment