Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p>
- <?php if (strlen($post['content']) > 200)
- {
- $summary = substr($post['content'],0,200);
- print($summary);
- }
- else
- {
- print($post['content']);
- } ?>
- </p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement