Wednesday, August 02, 2006

A page that randomly selects its content

[Tags: , ]. Well I'm currently working on a site redesign and I want my journalism portfolio index page to randomly select an article from those on the site. A quick search on "PHP random content selector" brings up this tutorial from SitePoint on using CSS and Perl to hide all articles but one (randomly). Let me know if it's useful.

Oh, and while I was at it, I also found this article on using PHP to randomly select a stylesheet too.

1 Comments:

Anonymous Anonymous said...

@Paul -

Thanks for the mention, I hope my article is useful to you.

3:19 pm  

Post a Comment

<< Home