How am I able to turn my string into only 20 characters long?
<?php print htmlspecialchars_decode($artist, 0, 20, "..."); ?>
Currently the code above displays an error.
<b>Warning</b>: htmlspecialchars_decode() expects at most 2 parameters, 4 given in <b>/some/domain/path/some-file.php</b> on line <b>45</b><br />
How can I get around this error but still use htmlspecialchars_decode()
with 20 character long title?