Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- srand((float) microtime() * 10000000);
- <MTBlogRollEntries category="Connections">
- $explore[<$MTBlogRollEntryID$>]['title']='<$MTBlogrollEntryName encode_php="1"$>';
- $explore[<$MTBlogRollEntryID$>]['desc']='<$MTBlogrollEntryDesc encode_php="1"$>';
- $explore[<$MTBlogRollEntryID$>]['link']='<$MTBlogrollEntryURI encode_php="1"$>';
- </MTBlogRollEntries>
- for($i = 0; $i <= 5; $i++) {
- $rn = array_rand($explore);
- echo '<dt><a href="' . $explore[$rn]['link'] . '" title="' . $explore[$rn]['title'] . '">' . $explore[$rn]['title'] . '</dt>';
- echo '<dd>' . $explore[$rn]['desc'] . '</dd>';
- }
- ?>
Add Comment
Please, Sign In to add comment