Skip to content

How to echo only certain character number in PHP?

$temp = substr($temp, 0, 5);
echo "$temp...";
See also  Java code snippet - How to call getReader twice?

Leave a Reply

Your email address will not be published.

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