Skip to content

How to echo only certain character number in PHP?

$temp = substr($temp, 0, 5);
echo "$temp...";
See also  How to read data from firebase notification in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.