PHP and Flickr question
-
https://www.durhamdigs.ca/
Buddypress: 1.2.5.2
Wordpress: 3.0.1
BP-Slick: 1.1Hello all,
I put a flickr slideshow in my footer. I followed the instructions from here to simulate a random slideshow every time the page was refreshed.
Here is the code I used:
<?php $array=array("community garden", "durhamdigsca"); ?> <iframe style="margin-top:0px;margin-left:0px;" src="https://www.flickr.com/slideShow/index.gne?&tags= <?php $rand=array_rand($array); echo $array[$rand]; ?> &group_id=&user_id=&set_id=&text=" frameBorder=0 width=275 height=275 scrolling=no> </iframe>
My question is how would I substitute the “tags” (“community garden”, “durhamdigsca”) for “flickr user id’s”?
- The topic ‘PHP and Flickr question’ is closed to new replies.