Ok atm iam trying to code something very simple. It may seem like a no-brainer to some of you php coders out there ;P
so far iam creating affliates.php
here it is
<div class="block"> <h2><span><?php echo 'Affliates'; ?></span></h2> <div class="box" id="announce"> <div class="inbox"> <?php $affliates = '<a href="#">'.pun_htmlspecialchars('Link 1').'<br /> <a href="#">'.pun_htmlspecialchars('Link 2').'</a></a>'; echo $affliates; ?> </div> </div> </div>
Thats it so far. Iam placing this file in the "users" folder and including it through the main.tpl template.
Iam trying to shuffle these links. How would i go about doing this? Could i use the str_shuffle function?