I just made a Random Fish Panel out of this, its quite cool like. I will use that on my Angling website. hehe
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]
opentable("Random Fish"
;
?>
<script type="text/javascript">
<!--//
//Enter the amount of quotes you are using.
var quotnum = "14";
//In between the " "; enter in your message. Remember not to use double
//quote ("
in your message. You may use a single quote ('
.
var sds = new Array(1000);
sds[0]="Trout";
sds[1]="Salmon";
sds[2]="Haddock";
sds[3]="Cod";
sds[4]="Sole";
sds[5]="Mullet.";
sds[6]="Snapper";
sds[7]="Whitening";
sds[8]="Pollok";
sds[9]="Kippers";
sds[10]="Gold";
sds[11]="Phrana";
sds[12]="Skate";
sds[13]="sardine";
sds[14]="catfish";
var arandomn=Math.random() * quotnum;
arandomn=Math.round(arandomn);
var daquote =sds[arandomn];
document.write("<table border=0 align=center><tr><td align=center><b>"+daquote+"</font></b></td></tr></table>"
;
//-->
</script>
<?php
closetable();[/syntaxhighlighter]