Mike Phillips
30th November 2007, 14:47
Thanks for the great tut, it has come in very useful. I was just wondering if anyone could help me on one further addition I would like to make.
Basically, using this code:
$items = array_slice($rss->items, 0, $num_items);
foreach ( $items as $item ) {
You can control how many posts show in the application. Ideally I want to hand that control over to the user of the application.
Basically, on a new tab, called options I would like the user to be able to choose from 5 radio buttons, labelled from 1 - 5. If the user selects 1, only one post is shown etc etc.
Does anyone know how to go about doing that?
Basically, using this code:
$items = array_slice($rss->items, 0, $num_items);
foreach ( $items as $item ) {
You can control how many posts show in the application. Ideally I want to hand that control over to the user of the application.
Basically, on a new tab, called options I would like the user to be able to choose from 5 radio buttons, labelled from 1 - 5. If the user selects 1, only one post is shown etc etc.
Does anyone know how to go about doing that?