![]() |
can someone hook me up with a simple code to do this...
there is one list of links and each time the site loads the order of the links is randomized?
|
Doesnt blogroll in wordpress do that? or is it only in the template I have ? I have no idea. I know my blogroll links change around every time i load my blog. So its in the code somewhere
|
what language you want it in?
|
Quote:
google or yahoo "random link script" |
Quote:
|
I always just code my own when I get to it. little bit of php to read a list of links from a text file into a url, randomize it, loop through and print it out..
|
icq me and i'll hook you up, i'm bored.
|
untested, but fwiw...
$urls = array(); $urls[] = "http://www.google.com"; $urls[] = "http://www.gfy.com"; etc... shuffle($urls); //to randomize foreach($urls as $link) { print "<a href=\"".$link."\">$link</a><br>"; } |
All times are GMT -7. The time now is 09:01 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123