A community of PHP developers offering assistance, advice, discussion, and friendship.
Skip to content
Moderator: General Moderators
Post by DynamiteHost » Sat Aug 10, 2002 5:33 pm
Post by volka » Sat Aug 10, 2002 6:54 pm
Code: Select all
print( (strlen($var)>20) ? substr($var, 0, 20) : $var );
Return to “PHP - Code”