Created
February 9, 2012 22:43
-
-
Save aokj4ck/1783959 to your computer and use it in GitHub Desktop.
Shuffle your links on every page load/refresh.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
</head> | |
<body> | |
<p>Check out these links for more info about me and what I do:<br> | |
<?php | |
error_reporting(E_ALL); | |
$links = array(); | |
$links[] = "<a href=\"http://twitter.com/jpasqualetti\">@jpasqualetti</a>"; | |
$links[] = "<a href=\"http://blog.joepasq.com/\">Tumblr</a>"; | |
$links[] = "<a href=\"http://stackoverflow.com/users/178805/joepasq\">StackOverflow</a>"; | |
$links[] = "<a href=\"http://github.com/joepasq\">Github</a>"; | |
$links[] = "<a href=\"http://joepasq.com/documentation/\">Documentation</a>"; | |
shuffle($links); | |
foreach ($links as $item) { | |
echo($item); | |
echo(' '); | |
} | |
?> | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment