randomizing link display order
Posted on 2005-04-23
Right now, I have:
$leftNav = '
<a href="sample.html">Sample Link</a><br>
<a href="example.html">Example Link</a><br>
<a href="another.html">Another Link</a><br>
And I put those on my page where I want them with an <?echo $leftnav;?>
I would like to display those links in random order each time the page loads, so the link order is not the same each time. I assume I'll need to assign a value to each individual link (about 20 in all) and then...?
Thank you for assistance, Chris