Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 15

6apxatCurtisOdenericgillettelf349141590lortabacmrak786 +9 guests

Random Generating, Help

Not having that big of experience with php can anyone point me in the right direction to achieve this: Once a specific trigger is done, say entering TestOne in a post it picks a random object from the array and puts it into the post. But instead of changing upon refresh, it is actually entered into the post as such, thus replacing TestOne with say Successful. So upon any number of refresh it won't change from Successful to the other option of Failed.

Comments

  • Posts: 2,301
    I think the Dice Roller extension does what you are looking for.
  • Posts: 89
    Hmm, I'll look in to that thanks.
This discussion has been closed.