Hello, I had this script to display my news content on one area of my website. What it basically does it it displays all the news contents all at once. Could you please help me revise the script so I can only display two or five news content at a time. Below is the actual php script: <?php $data = file('data/news.db'); $data = array_reverse($data); foreach($data as $element) { $element = trim($element); $pieces = explode("|", $element); echo "<h1>" . $pieces[0] . "</h1>" . "<p>" . $pieces[2] . "</p>"; } ?> Here is the actual news content format it parses on the website which is basically saved on a .txt file: 03.20.06|Raphael|test news 03.25.06|Raphael|test news 03.29.06|Raphael|test news I am looking forward for any help you can offer. Thank you in advance.