We would like to be able to shuffle through the news articles, so we would have it show 3/5 news items at one time. When the page is refreshed it would randomly display another 3 articles, etc.
How could that be accomplished using the php array randomize function?
http://www.php.net/manual/en/function.array-rand.php
Does anyone have any ideas on where I can start? I created a test page and was able to get the php function to work by itself, but I cannot find where in phpmyfaq the array is built with the news articles. Any tips are appreciated!
Many, Many thanks!
Shuffle through news articles
Moderator: Thorsten
Re: Shuffle through news articles
Hi,
check the file news.php and the class inc/News.php
bye
Thorsten
check the file news.php and the class inc/News.php
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist