Hi,
I hope this is a simple thing.
This code works perfectly, but I want to have 5 random choices,(or more)
How do I make this choose from 5 random choices?
It would be great if anyone knew.
Thanks
Richard
I hope this is a simple thing.
This code works perfectly, but I want to have 5 random choices,(or more)
How do I make this choose from 5 random choices?
Code:
<% randomize() r=rnd() if r>0.5 then <% <a href='http://www.w3schools.com'>W3Schools.com!</a> <% Else %> <a href='http://www.refsnesdata.no'>Refsnesdata.no!</a> <% end if %>
Thanks
Richard
Comment