Random item example

Use this method if you don't want to ouput every item, but rather a random item every time the page is refreshed.

view the php |


Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cselin/cassieselin.com/tutorialresources/Feedreadingexamples/random_item/index.php on line 23

Warning: file_get_contents(http://pipes.yahoo.com/pipes/pipe.run?_id=b15784a7732624bb36512b4d17a07cc3&_render=php): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cselin/cassieselin.com/tutorialresources/Feedreadingexamples/random_item/index.php on line 23

Outputting the item at random index: 0


view pipe