KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
There is a variable $posts , which gives an array with many values. foreach() is used for output: foreach($posts as $post) { ... } How to show only five first values from $posts ? Like, if we have 100 values, it should give just five. Thanks.
Tags (comma-separated)
Save Edits
Cancel